Compare commits
No commits in common. "f11d49baa841be3fc09cae870d899461ec7d583b" and "d7c7d7bcaecedc099a2c398c2fca52b5920b94bc" have entirely different histories.
f11d49baa8
...
d7c7d7bcae
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(editable=True, default=None, null=True)
|
last_imported = models.DateTimeField(auto_now=True, editable=True)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = _("Import Source URL")
|
verbose_name = _("Import Source URL")
|
||||||
|
|
Loading…
Reference in a new issue