diff options
author | 2019-04-19 15:29:27 +0200 | |
---|---|---|
committer | 2019-04-19 15:29:27 +0200 | |
commit | 5d9d6eec3159a9c87ca45dc5b294534daf8495fa (patch) | |
tree | 281274633fe8a9cc5c79d5f66409cf1fd87702dc /pydis_site/apps/home/urls.py | |
parent | Merge branch 'django_front_page' of github.com:python-discord/site into djang... (diff) |
Addressing all comments in volcyy's second review. The tests now mock the API calls so we don't have to actually call the API every time we run tests.
Diffstat (limited to 'pydis_site/apps/home/urls.py')
-rw-r--r-- | pydis_site/apps/home/urls.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py new file mode 100644 index 00000000..d8dba2f6 --- /dev/null +++ b/pydis_site/apps/home/urls.py @@ -0,0 +1,10 @@ +from django.contrib import admin +from django.urls import path + +from .views import HomeView + +app_name = 'home' +urlpatterns = [ + path('', HomeView.as_view(), name='home'), + path('admin/', admin.site.urls) +] |