Hi Chris,
The revision system is extended in some of the build-in plugins. Imagine that you have a wiki article (Article A) and you attach a document to it. The attachment is then re-used in another article (Article B). This means that if the attachment is replaced by an editor of Article B, it should probably also be updated in Article A.
In this example, you MIGHT be able to think of cases that don't fit. That's entirely okay. What's the point is that the attachment should be revisioned.
That's why attachments on django-wiki are kept with a plugin that uses revisions.
The code is available here:
https://github.com/django-wiki/django-wiki/tree/main/src/wiki/plugins/attachments
This can be your blue-print, if you wish to create data stored in your own Django models, using a revision system. Django-wiki isn't as easy as the Django-Admin, you will have to create some extra logic for view/list/update/create/delete etc. and also consider permissions. So that's why the attachment plugin might be good to copy from.
Best of luck,
Ben
--
You received this message because you are subscribed to the Google Groups "django-wiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-wiki...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-wiki/532a753a-21fe-4d2f-ad13-c9a1e5db9679n%40googlegroups.com.