Changes between Initial Version and Version 1 of Ticket #29169
- Timestamp:
- Feb 28, 2018, 6:27:26 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29169
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #29169 – Description
initial v1 1 1 I am upgrading from django 1.8.4 to 1.9.13. I installed django 1.9.3 and added to my settings 2 2 3 **import django 4 django.setup ()** 3 {{ 4 import django 5 django.setup() 6 }}} 5 7 6 8 My application no longer works, it displays the following error: 7 9 {{{ 8 10 Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f9c9655b158> 9 11 Traceback (most recent call last): … … 50 52 "INSTALLED_APPS." % (module, name) 51 53 RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. 52 54 }}} 53 55 ---- 54 56 55 57 I can not even run migrations ... 56 58 In my settings I have: 57 59 {{{ 58 60 (...) 59 61 … … 83 85 84 86 (...) 85 86 87 }}} 87 88 ---- 88 89