Created
January 9, 2012 13:46
-
-
Save berendiwema/1583007 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mainproject.urls: | |
| from django.conf.urls.defaults import patterns, include, url | |
| # Uncomment the next two lines to enable the admin: | |
| # from django.contrib import admin | |
| # admin.autodiscover() | |
| urlpatterns = patterns('', | |
| # Examples: | |
| # url(r'^$', 'knowmore_api.views.home', name='home'), | |
| url(r'^v1/', include('knowmore_api.api.urls')), | |
| # Uncomment the admin/doc line below to enable admin documentation: | |
| # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), | |
| # Uncomment the next line to enable the admin: | |
| # url(r'^admin/', include(admin.site.urls)), | |
| ) | |
| app.urls: | |
| from django.conf.urls.defaults import patterns, include, url | |
| urlpatterns = patterns('', | |
| url(r'^v1/?$', 'api.views.index'), | |
| ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment