k4ever/k4ever/urls.py

27 lines
859 B
Python
Raw Normal View History

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('',
# 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')),
(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'}),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
2010-10-13 02:57:59 +02:00
)