mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-27 21:34:25 +03:00
16 lines
442 B
Python
16 lines
442 B
Python
from django.conf.urls.defaults import patterns, include
|
|
from django.contrib import admin
|
|
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = patterns('',
|
|
# Example:
|
|
(r'^testarchive/', include('testarchive.urls')),
|
|
|
|
# Uncomment the admin/doc line below to enable admin documentation:
|
|
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
# Uncomment the next line to enable the admin:
|
|
(r'^admin/', include(admin.site.urls)),
|
|
)
|