Skip to content

Commit

Permalink
Remove unused Django imports
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Sep 25, 2024
1 parent d36b3a4 commit 5d6feef
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions python/nav/bin/navdump.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@

bootstrap_django(__file__)

import django

from nav.models import manage
import nav.models.service

Expand Down
1 change: 0 additions & 1 deletion python/nav/django/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import copy
import warnings

import django
from django.utils.log import DEFAULT_LOGGING

from nav.config import NAV_CONFIG, getconfig, find_config_dir
Expand Down
1 change: 0 additions & 1 deletion python/nav/models/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from datetime import datetime
from decimal import Decimal

import django
from django import forms
from django.db import models
from django.db.models import signals
Expand Down
2 changes: 0 additions & 2 deletions python/nav/report/matrixIPv6.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

import logging

from django.urls import reverse

from nav.django.templatetags.report import report
from nav.report import IPtools, metaIP
from nav.report.matrix import Matrix, Link
Expand Down
1 change: 0 additions & 1 deletion python/nav/web/seeddb/page/prefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

from django import forms
from django.db import transaction
from django.shortcuts import render
from django.http import HttpResponseRedirect
from django.urls import reverse, reverse_lazy

Expand Down
2 changes: 0 additions & 2 deletions tools/eventgenerators/devicenotice.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
from nav.event2 import EventFactory
from nav.models.manage import Device

from django.db import transaction


def main():
"""Main controller"""
Expand Down

0 comments on commit 5d6feef

Please sign in to comment.