2010-10-13 02:57:59 +02:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
2011-09-29 00:26:39 +02:00
|
|
|
|
2010-10-13 02:57:59 +02:00
|
|
|
# Uncomment the next two lines to enable the admin:
|
|
|
|
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-03-05 04:55:16 +01:00
|
|
|
(r'^api/', include('api.urls')),
|
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'}),
|
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
|
|
|
)
|