Compare commits
2 commits
d7c7d7bcae
...
f11d49baa8
Author | SHA1 | Date | |
---|---|---|---|
f11d49baa8 | |||
798b329a83 |
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ from .views import login_view, register_user
|
||||||
from django.contrib.auth.views import LogoutView
|
from django.contrib.auth.views import LogoutView
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('login/', login_view, name="login"),
|
path("login/", login_view, name="login"),
|
||||||
path('register/', register_user, name="register"),
|
path("register/", register_user, name="register"),
|
||||||
path("logout/", LogoutView.as_view(), name="logout")
|
path("logout/", LogoutView.as_view(), name="logout"),
|
||||||
]
|
]
|
||||||
|
|
|
@ -15,7 +15,7 @@ class ImportSourceURLs(models.Model):
|
||||||
|
|
||||||
date_added = models.DateTimeField(auto_now_add=True, editable=True)
|
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:
|
class Meta:
|
||||||
verbose_name = _("Import Source URL")
|
verbose_name = _("Import Source URL")
|
||||||
|
|
Loading…
Reference in a new issue