mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
* Refactor: re-arrange test application
This was triggered by the need to run "python manage.py", which is impossible when serving the whole project in the same directory as is configured in INSTALLED_APPS ("auditlog_tests"). This setup is heavily inspired by other jazzband projects.
* Add check for missing migrations
13 lines
286 B
Python
13 lines
286 B
Python
from django.contrib import admin
|
|
from django.urls import path
|
|
|
|
from .views import SimpleModelDetailView
|
|
|
|
urlpatterns = [
|
|
path("admin/", admin.site.urls),
|
|
path(
|
|
"simplemodel/<int:pk>/",
|
|
SimpleModelDetailView.as_view(),
|
|
name="simplemodel-detail",
|
|
),
|
|
]
|