11π
I have confirmed that django-nonrel project does support the admin interface. I did have a problem where the default SITE_ID was picked up as a number, which is not allowed as a primary key in MongoDB. I resolved this by setting:
SITE_ID = β4d421623b0207acdc500001dβ
in my settings.py
I got the number by printing the id of the first site value in the collection through the shell.
I have not tested this extensively, but did register an admin for a Poll object and see it work.
9π
I have used django-nonrel with mongodb-engine and it works well. Django admin also works with standard model fields. But if you are using listfield and dictfield, you would need to do some hacking.
- [Django]-Django template includes slow?
- [Django]-Filtering using viewsets in django rest framework
- [Django]-How to implement FirebaseDB with a Django Web Application
2π
Iβm not positive, but django-nonrel and the mongodb backend may support the django admin nowadaysβ¦ it might be worth looking into
- [Django]-Querying django migrations table
- [Django]-Django south migration β Adding FULLTEXT indexes
- [Django]-Custom django admin templates not working
1π
django-nonrel is a fork of django and it hasnβt been updated for over a year. django-mongonaut and django-mongoadmin are django packages and are probably a better fit.
- [Django]-How to add superuser in Django from fixture
- [Django]-Django-Forms with json fields
- [Django]-Django apps aren't loaded yet when using asgi
1π
Django Admin is VERY MUCH possible with MongoDB. Have you looked into the Djongo project?
Djongo is a SQL to MongoDB query compiler. It translates every SQL query string into a mongoDB query document. As a result,
- All Django models and related modules work as is.
- Use the Django Admin GUI to add MongoDB embedded documents.
- Djongo provides API extensions to the Django ORM that let you βembedβ one document inside another, like MongoEngine.
There is an article on Using Django with MongoDB by adding just one line of code, if you are looking for more information. Otherwise, you can jump directly into the djongo documentation and start using it.
- [Django]-Printing Objects in Django
- [Django]-Django related_name for field clashes
- [Django]-How to add superuser in Django from fixture
0π
This is an old question but if someone happens to be facing the same problem today, I think his best bet would be http://humongous.io. Itβs a django-admin like interface for mongoDB. It knows how to guess/deal with relationships and works pretty much as the Django admin.
- [Django]-How can I avoid "Using selector: EpollSelector" log message in Django?
- [Django]-How does one make logging color in Django/Google App Engine?
- [Django]-Combining Django F, Value and a dict to annotate a queryset
-2π
mongodb has many behaviors and django-admin is for relation database like postgresql
you can create django admin with django-nonrel
but its not optimize and good. i think its bettwr you create custom admin for your application.
- [Django]-Django β getting Error "Reverse for 'detail' with no arguments not found. 1 pattern(s) tried:" when using {% url "music:fav" %}
- [Django]-Django admin TabularInline β is there a good way of adding a custom html column?
- [Django]-Django/DRF β 405 Method not allowed on DELETE operation