2012-01-21 00:21:29 +01:00
|
|
|
# This file is part of k4ever, a point-of-sale system
|
|
|
|
# Contact............ <k4ever@lists.someserver.de>
|
|
|
|
# Website............ http://k4ever.someserver.de/
|
|
|
|
# Bug tracker........ http://k4ever.someserver.de/report
|
|
|
|
#
|
|
|
|
# Licensed under GNU Affero General Public License v3 or later
|
2011-09-29 00:26:39 +02:00
|
|
|
|
2012-01-21 00:21:29 +01:00
|
|
|
from django.conf.urls.defaults import *
|
2010-10-13 02:57:59 +02:00
|
|
|
from django.contrib import admin
|
|
|
|
admin.autodiscover()
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2010-10-13 06:59:30 +02:00
|
|
|
# Example:
|
|
|
|
# (r'^k4ever/', include('k4ever.foo.urls')),
|
|
|
|
|
|
|
|
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
|
|
|
|
# to INSTALLED_APPS to enable admin documentation:
|
|
|
|
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
# user stuff? go to main
|
|
|
|
(r'^$', 'main.views.startpage'),
|
2011-09-28 10:51:32 +02:00
|
|
|
(r'^api2/', include('api2.urls')),
|
2010-10-13 06:59:30 +02:00
|
|
|
(r'^user/', include('main.urls')),
|
|
|
|
(r'^transaction/', include('transaction.urls')),
|
2010-10-16 17:33:18 +02:00
|
|
|
(r'^store/', include('buyable.urls')),
|
|
|
|
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'media'}),
|
2011-10-30 03:16:14 +01:00
|
|
|
(r'^docs/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'docs'}),
|
|
|
|
|
2010-10-13 06:59:30 +02:00
|
|
|
|
|
|
|
# Uncomment the next line to enable the admin:
|
|
|
|
(r'^admin/', include(admin.site.urls)),
|
2010-10-13 02:57:59 +02:00
|
|
|
)
|