use "load static", fixes #403

django (since 1.10) supports this and internally will use staticfiles
if django.contrib.staticfiles is in INSTALLED_APPS (which is the case).

this should fix the deprecation warnings we got.

also: require django >= 1.11.0.
This commit is contained in:
Thomas Waldmann 2019-04-04 21:19:07 +02:00
parent 9cfd9b8438
commit a65b50f48c
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ setup(
install_requires=[ install_requires=[
'dnspython<1.17.0', # 1.16 is last with py27 support 'dnspython<1.17.0', # 1.16 is last with py27 support
'netaddr', 'netaddr',
'django', 'django>=1.11.0',
'django-bootstrap-form', 'django-bootstrap-form',
'django-registration-redux', 'django-registration-redux',
'django-extensions', 'django-extensions',

View File

@ -1,4 +1,4 @@
{% load static from staticfiles %} {% load static %}
{% load i18n %}{% load bootstrap %} {% load i18n %}{% load bootstrap %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">