Django - How to add admin.py in my app folder? -



Django - How to add admin.py in my app folder? -

i need add together admin.py in app folder.

currently app folder contains next files:

__init__.py models.py test.py views.py

any help :-)

the tutorial edit admin.py in polls directory. however, if you're starting new project admin.py not exist.

you can create blank admin.py file , add together contents suggested tutorial. django automatically notice admin settings file when admin app enabled.

django django-admin

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -