Add url for favicon.ico
This commit is contained in:
parent
0733925af0
commit
c6517f091a
1 changed files with 3 additions and 0 deletions
|
@ -17,12 +17,15 @@ from django.conf.urls import url
|
|||
from django.contrib import admin
|
||||
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
||||
from django.urls import path
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
from no_ipv4_here.views import IndexView
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', IndexView.as_view(), name='index'),
|
||||
path('admin/', admin.site.urls),
|
||||
url(r'^favicon\.ico$',
|
||||
RedirectView.as_view(url='/static/img/favicon.ico')),
|
||||
]
|
||||
|
||||
urlpatterns += staticfiles_urlpatterns()
|
||||
|
|
Loading…
Reference in a new issue