python - Ralat semasa memulakan `Django` dengan `Pycharm`
習慣沉默
習慣沉默 2017-05-18 10:47:05
0
1
525

Gunakan projek pycharm跑建的Django dan saya akan mendapat ralat selepas menambah aplikasi web saya sendiri

C:\Users\fc\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-01.4424.42\bin\runnerw.exe C:\Users\fc\untitled2\Scripts\python.exe C:/Users/fc/Documents/GitHub/Python/untitled/manage.py runserver 8000
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000002BCF8C3C840>
Traceback (most recent call last):
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\autoreload.py", line 227, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\fc\untitled2\lib\site-packages\django\core\management\commands\runserver.py", line 117, in inner_run
    autoreload.raise_last_exception()
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\autoreload.py", line 250, in raise_last_exception
    six.reraise(*_exception)
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\autoreload.py", line 227, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\fc\untitled2\lib\site-packages\django\__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "C:\Users\fc\untitled2\lib\site-packages\django\apps\registry.py", line 89, in populate
    "duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: Dj_learning_blog


Saya mencari di Google tetapi tidak menemui jawapannya.

習慣沉默
習慣沉默

membalas semua(1)
洪涛

Penyoal boleh merujuk siaran ini Bagaimana untuk menyelesaikan "django.core.exceptions.ImproperlyConfigured: Label aplikasi tidak unik, pendua: foo" dalam Django 1.7?

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan