[PYTHON] Django: What to do if TemplateDoesNotExist at / admin / after setting templates

After setting the template in setting.py with Norinori and doing it, When I thought "Oh! That's right! Let's use the management screen", "TemplateDoesNotExist at / admin /" error occurred ...

Solution

/virtualenv/lib/python2.7/site-packages/django/contrib/admin/templates Subordinate admin registration Copy the folder into your Django project's templates folder. With this, 127.0.0.1:8000 / admin is back!

See here for details [Link] http://righthelp.xyz/question/8996549/admin-site-templatedoesnotexist-at-admin

Above, the first post \ (^ o ^) /

Recommended Posts

Django: What to do if TemplateDoesNotExist at / admin / after setting templates
What to do if yum breaks
What to do after installing Linux (Ubuntu)
What to do if pipreqs results in UnicodeDecodeError
What to do if you can't pipenv shell
Note: What to do if pip install fails
What to do if mod_fcgid cannot resolve UnicodeEncodeError
[For beginners] What to do after installing Anaconda
What to do if rails s doesn't work
What to do if pip cannot be installed
What to do if atom autocomplete-python doesn't work
What to do if Docker-sync suddenly stops working
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
What to do if scrapy doesn't work after installing scrapy with pip on mac
What to do if Django can't load an image from a static folder
What to do if (base) is displayed at the beginning of the Mac terminal
What to do if pip install fails in Xcode 5.1
What to do if you can't pip install mysqlclient
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
What to do if SciPy installation fails on CentOS
What to do if a UnicodeDecodeError occurs in pip
What to do if pip install fails to install dependent libraries
What Django renders do
What to do if sys / cdefs.h does not exist
What to do if pyenv is not enabled (zsh)
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if the package dependency cannot be repaired
What to do if you are addicted to Windows character code
What to do if you can't sort files with subscripts
What to do if a 0xC0000005 error occurs in tf.train.start_queue_runners ()
What to do if package installation fails when deploying to heroku
What to do if `pip install matplotlib` fails on Mac
What to do when "Invalid HTTP_HOST header" appears in Django
What to do if you can't log in as root
What to do if you can't use WiFi on Linux
What to do if you lose your EC2 key pair
If you say TemplateDoesNotExist at
[Django] What to do if the model you want to create has a large number of fields
What to do if Python doesn't work on Git for Windows
What to do if you can't install pyaudio with pip #Python
What to do if you get a minus zero in Python
What to do if intellisense doesn't work with Anaconda + VSCode + Tensorflow2.1
What to do if python says "fatal error:'stdio.h' file not found"
What to do if you get a UnicodeDecodeError with pip install
What to do if Insecure Platform Warning appears when running Python
What to do if the inode is exhausted on EC2 Linux
What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do if you can't use the trash in Lubuntu 18.04.
What to do if grep: empty (sub) expression appears on Mac grep
What to do when Ubuntu crashes
What to do with Magics install
What to do with PYTHON release?
What to do to get tensorflow-gpu to work
[Memorandum] What to do when a warning appears after executing pip list
What to do if you can't find well with grep's -f option
What to do if there is a decimal in python json .dumps
What to do if you can't find PDO in Laravel or CakePHP
What to do if you couldn't send an email to Yahoo with Python.
What to do if you can't use scikit grid search in Python
What to do if ipython and python start up with different versions
What to do if your disk runs out due to MySQL binary logs