Edit button on / off
Hello,
I am would like report that django-tinycontent break design of my page in results of auto add link to edit page eg. sidebar. It is completely unacceptable.
I am have 2 solution for that.
- Use django-constance for extra dynamic settings, overwrite theme and provide "edit-mode" for administrator.
- Extend django-constance model to provide radio field "hide edit button". Then new fields display edit button, but I can hide it.
What do you prefer?
Greetings, Adam
I'd prefer to avoid adding a dependency on django-constance.
Two alternatives to your suggestions:
- Override the templates in your project.
- Have a setting in
settings.pyfor removing the add/edit links.
Dom
Overwrite a templates sounds nice.
I will provide new package django-tinycontent-constance with build-in templates for constance support soon.
Wysłano z urządzenia mobilnego. 26 lip 2015 8:56 PM "Dominic Rodger" [email protected] napisał(a):
I'd prefer to avoid adding a dependency on django-constance.
Two alternatives to your suggestions:
- Override the templates in your project.
- Have a setting in settings.py for removing the add/edit links.
Dom
— Reply to this email directly or view it on GitHub https://github.com/dominicrodger/django-tinycontent/issues/7#issuecomment-125027563 .
We can drop django-constance by store in session settings "change". By settings.py we will select default settings (show / not), next to by views settings will be updated.