Posted By

Affix on 01/14/11


Tagged

django


Versions (?)

Django tut Blog urls.py 1


 / Published in: Python
 

URL: http://affix.me

  1. from django.conf.urls.defaults import *
  2.  
  3. # Uncomment the next two lines to enable the admin:
  4. from django.contrib import admin
  5. admin.autodiscover()
  6.  
  7. urlpatterns = patterns('',
  8.  
  9. # Uncomment the next line to enable the admin:
  10. (r'^admin/', include(admin.site.urls)),
  11. )

Report this snippet  

You need to login to post a comment.