No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

urls.py 1.1KB

12345678910111213141516171819202122232425262728293031
  1. # This file is part of k4ever, a point-of-sale system
  2. # Contact............ <k4ever@lists.someserver.de>
  3. # Website............ http://k4ever.someserver.de/
  4. # Bug tracker........ http://k4ever.someserver.de/report
  5. #
  6. # Licensed under GNU Affero General Public License v3 or later
  7. from django.conf.urls.defaults import *
  8. from django.contrib import admin
  9. admin.autodiscover()
  10. urlpatterns = patterns('',
  11. # Example:
  12. # (r'^k4ever/', include('k4ever.foo.urls')),
  13. # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
  14. # to INSTALLED_APPS to enable admin documentation:
  15. # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
  16. # user stuff? go to main
  17. (r'^$', 'main.views.startpage'),
  18. (r'^api2/', include('api2.urls')),
  19. (r'^user/', include('main.urls')),
  20. (r'^transaction/', include('transaction.urls')),
  21. (r'^store/', include('buyable.urls')),
  22. (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'media'}),
  23. (r'^docs/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'docs'}),
  24. # Uncomment the next line to enable the admin:
  25. (r'^admin/', include(admin.site.urls)),
  26. )