Commit 9dc76eb3 authored by Margarita Perez's avatar Margarita Perez

Finished heroes/urls

parent 540c9fff
#heroes/urls.py
from django.conf.urls import url
from .views import HomeView
from .views import HomepageView, CloudView, SunfloweyView, JesterView
urlpatterns = [
url(r'^$', HomeView.as_view(), name='home'),
#url(r'^$', HomepageView.as_view(), name='homepage'),
url(r'heroes/', HomepageView.as_view(), name='homepage'),
url(r'/hero/cloud/', CloudView.as_view(), name='detail_cloud'),
url(r'/hero/sunflowey/', SunfloweyView.as_view(), name='detail_sunflower'),
url(r'/hero/jester/', JesterView.as_view(), name='detail_jester'),
]
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