You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.
I am not sure I understand how to use VersionedAdmin properly.
I did this on my Django 2.0 app:
# myapp/admin.py
from versions.admin import VersionedAdmin
#...
class MyModelAdmin(VersionedAdmin):
pass
#...
admin.site.register(MyModel, MyModelAdmin)
Then Django complained of missing template versions/datetimefilter.html
I copied it from GitHub to my templates folder and now it works. But am I supposed to do this this way? Shouldn't Django be able to find this template in the installed module?
My knowledge of Django doesn't allow me to claim this is a bug so let's say this is a question about how to use VersionedAdmin properly.
Thank you for your insights!
The text was updated successfully, but these errors were encountered:
Hello dear developers & users of cleanerversion!
I am not sure I understand how to use VersionedAdmin properly.
I did this on my Django 2.0 app:
Then Django complained of missing template versions/datetimefilter.html
I copied it from GitHub to my templates folder and now it works. But am I supposed to do this this way? Shouldn't Django be able to find this template in the installed module?
My knowledge of Django doesn't allow me to claim this is a bug so let's say this is a question about how to use VersionedAdmin properly.
Thank you for your insights!
The text was updated successfully, but these errors were encountered: