Upgraded to Django 2.1

This commit is contained in:
Jeremy Stretch 2018-11-02 14:42:15 -04:00
parent b05171b126
commit 0a71c63583
22 changed files with 22 additions and 22 deletions

View File

@ -16,7 +16,7 @@ class BaseIPField(models.Field):
def python_type(self):
return IPNetwork
def from_db_value(self, value, expression, connection, context):
def from_db_value(self, value, expression, connection):
return self.to_python(value)
def to_python(self, value):

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load staticfiles %}
{% load static %}
{% load form_helpers %}
{% block content %}

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load static %}
{% load helpers %}
{% block title %}{{ provider }}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% block content %}

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load static %}
{% load helpers %}
{% block title %}{{ device }}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends 'dcim/device.html' %}
{% load staticfiles %}
{% load static %}
{% block title %}{{ device }} - Config{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends 'dcim/device.html' %}
{% load staticfiles %}
{% load static %}
{% block title %}{{ device }} - Status{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load static %}
{% load tz %}
{% load helpers %}

View File

@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
<div class="loading text-center">
<img src="{% static 'img/ajax-loader.gif' %}" />
</div>

View File

@ -1,4 +1,4 @@
{% load static from staticfiles %}
{% load static %}
{% load helpers %}
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">

View File

@ -1,5 +1,5 @@
{% extends 'utilities/obj_edit.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% load helpers %}

View File

@ -1,5 +1,5 @@
{% extends 'utilities/obj_edit.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% block title %}Bulk Add IP Addresses{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends 'utilities/obj_edit.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% load helpers %}

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load static %}
{% load helpers %}
{% load secret_helpers %}

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% block content %}

View File

@ -1,5 +1,5 @@
{% extends 'utilities/obj_import.html' %}
{% load static from staticfiles %}
{% load static %}
{% block content %}
{{ block.super }}

View File

@ -1,5 +1,5 @@
{% extends 'utilities/obj_edit.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% block form %}

View File

@ -1,5 +1,5 @@
{% extends 'users/_user.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% block title %}User Key{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load static %}
{% load form_helpers %}
{% block content %}

View File

@ -1,4 +1,4 @@
Django>=2.0,<2.1
Django==2.1.3
django-cors-headers==2.4.0
django-debug-toolbar==1.10.1
django-filter==2.0.0