"C:\Users\Витор\AppData\Roaming\JetBrains\PyCharm 2016.1.2\bin\runnerw.exe" C:\Python35\python.exe "C:\Users\Витор\AppData\Roaming\JetBrains\PyCharm 2016.1.2\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 9948 --file C:/Users/Витор/PycharmProjects/untitled12/manage.py runserver 8000
pydev debugger: process 10380 is connecting
Connected to pydev debugger (build 145.844)
pydev debugger: process 5072 is connecting
Performing system checks...
Unhandled exception in thread started by <_pydev_bundle.pydev_monkey._NewThreadStartupWithTrace object at 0x0420E870>
Traceback (most recent call last):
File "C:\Users\Витор\AppData\Roaming\JetBrains\PyCharm 2016.1.2\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 553, in __call__
return self.original_func(*self.args, **self.kwargs)
File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\Python35\lib\site-packages\django\core\management\commands\runserver.py", line 121, in inner_run
self.check(display_num_errors=True)
File "C:\Python35\lib\site-packages\django\core\management\base.py", line 374, in check
include_deployment_checks=include_deployment_checks,
File "C:\Python35\lib\site-packages\django\core\management\base.py", line 361, in _run_checks
return checks.run_checks(**kwargs)
File "C:\Python35\lib\site-packages\django\core\checks\registry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "C:\Python35\lib\site-packages\django\core\checks\urls.py", line 14, in check_url_config
return check_resolver(resolver)
File "C:\Python35\lib\site-packages\django\core\checks\urls.py", line 24, in check_resolver
for pattern in resolver.url_patterns:
File "C:\Python35\lib\site-packages\django\utils\functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:\Python35\lib\site-packages\django\urls\resolvers.py", line 313, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Python35\lib\site-packages\django\utils\functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:\Python35\lib\site-packages\django\urls\resolvers.py", line 306, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Python35\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "C:/Users/Витор/PycharmProjects/untitled12\untitled12\urls.py", line 21, in <module>
url(r'^blog/', include('simpleblog.urls')),
File "C:\Python35\lib\site-packages\django\conf\urls\__init__.py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "C:\Python35\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "C:\Python35\lib\site-packages\simpleblog\urls.py", line 3, in <module>
from .views import BlogDetailView, BlogListView, LatestEntriesFeed
File "C:\Python35\lib\site-packages\simpleblog\views.py", line 1, in <module>
from django.contrib.sites.models import Site
File "C:\Python35\lib\site-packages\django\contrib\sites\models.py", line 86, in <module>
class Site(models.Model):
File "C:\Python35\lib\site-packages\django\db\models\base.py", line 113, in __new__
"INSTALLED_APPS." % (module, name)
RuntimeError: Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
И про медиа потоки