Skip to content
This repository was archived by the owner on Feb 7, 2019. It is now read-only.
This repository was archived by the owner on Feb 7, 2019. It is now read-only.

Question about usage of VersionedAdmin & Django complaining about "missing" template datetimefilter.html #158

@jeromecc

Description

@jeromecc

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions