-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: WillAllmeida <will.allmeida@gmail.com> Co-authored-by: aquiles23 <jjoseaquiless@gmail.com> Co-authored-by: jpmota2208 <jpmota.unb@gmail.com> Co-authored-by: igorveludo <velvet.guimaraes@gmail.com>
- Loading branch information
1 parent
26be135
commit f327db5
Showing
9 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from django.conf.urls import url | ||
from artigo import views | ||
|
||
#templates tagging | ||
#app_name = 'principal_app' | ||
|
||
urlpatterns = [ | ||
url(r'usuario_artigo/$',views.usuario_artigo,name='usuario_artigo'), | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from django.shortcuts import render | ||
|
||
# Create your views here. | ||
def usuario_artigo(request): | ||
return render(request, 'usuario_artigo.html') |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from django.conf.urls import url | ||
from principal import views | ||
|
||
#templates tagging | ||
#app_name = 'principal_app' | ||
|
||
urlpatterns = [ | ||
url(r'^$',views.index,name='index'), | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "base.html" %} | ||
{% block title %}fheihfoehef{% endblock %} | ||
{% block body %} | ||
<h1>gofzao da massa</h1> | ||
{% endblock %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "base.html" %} | ||
{% block title %}fheihfoehef{% endblock %} | ||
{% block body %} | ||
<h1>artigo da massa</h1> | ||
{% endblock %} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from django.conf.urls import url | ||
from usuario import views | ||
|
||
#templates tagging | ||
#app_name = 'principal_app' | ||
|
||
urlpatterns = [ | ||
url(r'register/$',views.register,name='register'), | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from django.shortcuts import render | ||
|
||
# Create your views here. | ||
def register(request): | ||
return render(request, 'register.html') |