dominno / django-moderation

django-moderation is reusable application for Django framework, that allows to moderate any model objects.
BSD 3-Clause "New" or "Revised" License
268 stars 91 forks source link

Edit moderate_object.html admin template in external app #56

Closed martinzugnoni closed 11 years ago

martinzugnoni commented 12 years ago

Hello everyone! I'm using django-moderation and geodjango together in one personal project. I would need to edit the moderate_object.html admin template in order to render a map in all GEO fields (Points, PolyLines, etc). Actually the are rendered like plain text. I think that its because the serialization inside ModeratedObject class. Can you explain me where should I put the new .html file in my project's directory tree? Thanks!

dominno commented 12 years ago

You need to create template in side of your templates directory - moderation/moderate_object.html and extend it the way you like.