Created
March 27, 2013 05:01
-
-
Save idcmardelplata/5251775 to your computer and use it in GitHub Desktop.
Django: Archivo urls.py a nivel de aplicacion de django
This file contains 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
from django.conf.urls import patterns, url | |
urlpatterns = patterns('{{PROJECT_NAME}}.apps.{{APP_NAME}}.views', | |
url(r'^$', "{{FUNCTION_NAME}}", name="{{TEMPLATE_NAME}}"), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment