How to add an app to django admin site which do not required model?
How to add an app to django admin site which do not required model?
I mean I need to make inteface for my app. But i dont want to create any tables in databas. Actually it going to work with solr items.
Or mayb开发者_高级运维e someone knows any dummy model which acts like a real model.. but is not related with database table?
So then i can overwrite admin templates.
Maybe you can define a model for your app and set the managed Meta option to False so that I won't create a db for you?
From documentation: https://docs.djangoproject.com/en/1.3/ref/models/options/#django.db.models.Options.managed
精彩评论