Commit a1d7df9b authored by Xavier Calabia's avatar Xavier Calabia

moved hero pages and assets to their own folder

renamed home_page into heroes_page
parent a69429d1
from django.conf.urls import url
from .views import home_page
from .views import heros_page
urlpatterns = [
url(r'$', home_page, name='home_page'),
url(r'$', heros_page, name='heros_page'),
]
# Create your views here.
from django.shortcuts import render
def home_page(request):
def heros_page(request):
return render(request, 'heroes.html')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment