question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to not load Django Summernote Attachments on the Admin page?

See original GitHub issue

I want to be able to configure on the settings.py a settings that does not load at all the Django Summernote Attachments option.

How do I do that?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
lqezcommented, Nov 14, 2018

@aleon05 Sorry, I misunderstood your question. I think there is a lot of ways to hide specific model from admin, but I tried below and succeed.

# Do below somewhere in your own admin.py
from django_summernote.utils import get_attachment_model 
admin.site.unregister(get_attachment_model())

Another ways: https://stackoverflow.com/questions/2431727/django-admin-hide-a-model

0reactions
arjun-gautamcommented, Jul 22, 2020

Worked for me also. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

django-summernote is not editable on Django admin page
Currently I am trying to implement django-summernote to my Django project. I could pip-install it, set up the urls.py , setting.py , admin.py ......
Read more >
Integrating Summernote WYSIWYG Editor in Django
Considering the scope of the article I am assuming you already have a basic Django project up and running if not reading the...
Read more >
Deep dive - Summernote
You can disable TAB/Shift+Tab intereaction with the tabDisable option. This will allow tabbing through fields in Forms. $('#summernote') ...
Read more >
django-summernote - Bountysource
Add 'Summernote' WYSIWYG editor into Django admin page. ... Unable to upload images files as attachments when using summernoteinplacewidget $ 0.
Read more >
Why isn't my summernote working? : r/django - Reddit
Hi. I would like to use summernote in my existing django app. The problem is that it doesn't even appear on my page...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found