Django tut Blog urls.py 1


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  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. )

URL: http://affix.me

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.