Django: 5.1.1
python: 3.12.5
I have never needed to do this before.
I have searched the forum and of course online and nothing.
Question 1:
I need to create a new database model that will only be edited in Django admin. It will be accessed in various apps, but not edited. Where do I define the model at? When it’s for an app I define it in the local models.py. This model is not app specific. So where do I define it?
Question 2:
Usually when you define a model that you want access to in Django admin you reference it in the apps admin.py file. Since this is only edited in Django admin where do I reference it at? What admin.py file would that be in?
Question 3:
Based on your answer(s) above would I reference that location only from any app I need to read data from in this model?
i.e.: from app_name.models import ManagerMessaging
sample model class name
class ManagerMessaging(models.Model):