diff --git a/archivist/apps/authentication/urls.py b/archivist/apps/authentication/urls.py index a4f082b..d96ee42 100644 --- a/archivist/apps/authentication/urls.py +++ b/archivist/apps/authentication/urls.py @@ -3,7 +3,7 @@ from .views import login_view, register_user from django.contrib.auth.views import LogoutView urlpatterns = [ - path('login/', login_view, name="login"), - path('register/', register_user, name="register"), - path("logout/", LogoutView.as_view(), name="logout") + path("login/", login_view, name="login"), + path("register/", register_user, name="register"), + path("logout/", LogoutView.as_view(), name="logout"), ] diff --git a/archivist/apps/importer/models.py b/archivist/apps/importer/models.py index 3d1fc9e..aa8d316 100644 --- a/archivist/apps/importer/models.py +++ b/archivist/apps/importer/models.py @@ -15,7 +15,7 @@ class ImportSourceURLs(models.Model): date_added = models.DateTimeField(auto_now_add=True, editable=True) - last_imported = models.DateTimeField(auto_now=True, editable=True) + last_imported = models.DateTimeField(editable=True, default=None, null=True) class Meta: verbose_name = _("Import Source URL")