Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adicionado o path /layout

Como o index.html foi renomeado para guideline.html, este path foi
adicionado para continuarmos trabalhando no layout.

Signed-off-by: Mailson Lira <mailson@gmail.com>
  • Loading branch information...
commit efb4c7f096192a7113a863aea1460f255856b3b7 1 parent 5d7dd1c
Mailson Lira omailson authored
Showing with 5 additions and 1 deletion.
  1. +1 −0  portal/urls.py
  2. +4 −1 portal/views.py
1  portal/urls.py
View
@@ -8,6 +8,7 @@
urlpatterns = patterns('',
# Examples:
url(r'^$', 'portal.views.home', name='home'),
+ url(r'^layout/$', 'portal.views.guideline', name='layout'),
# url(r'^portal/', include('portal.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
5 portal/views.py
View
@@ -2,4 +2,7 @@
from django.template import RequestContext
def home(request):
- return render_to_response('index.html',context_instance = RequestContext(request))
+ return render_to_response('index.html',context_instance = RequestContext(request))
+
+def guideline(request):
+ return render_to_response('guideline.html',context_instance = RequestContext(request))
Please sign in to comment.
Something went wrong with that request. Please try again.