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:
# 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!
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!