Pycharm run Django occurs appregistrynotready:apps aren ' t loaded yet.

Source: Internet
Author: User

Pycharm running Django by default does not execute the project , so if it is not manage.py, an exception occurs.

Raise Appregistrynotready ("Apps aren ' t loaded yet.")
Django.core.exceptions.AppRegistryNotReady:Apps aren ' t loaded yet.

The above is an exception that occurs when running in urls.py.

So it is necessary to execute the whole project. The execution of a project can have two choices:

1. Recommended Way:

Select the Django project in the running selection and run again.

2. Non-recommended way:

You can avoid exceptions by running in manage.py.

Attach the parameter settings for running the Django project in Pycharm:

In the Manage press

Configure the parameters in the parameter settings runserver 0.0.0.0:8000 "address and Port can be other"

Pycharm run Django occurs appregistrynotready:apps aren ' t loaded yet.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.