[Django] #32857: Django standalone ORM AttributeError: 'Settings' object has no attribute 'ROOT_URLCONF'

9 views
Skip to first unread message

Django

unread,
Jun 17, 2021, 1:49:29 AM6/17/21
to django-...@googlegroups.com
#32857: Django standalone ORM AttributeError: 'Settings' object has no attribute
'ROOT_URLCONF'
-----------------------------------------+---------------------------------
Reporter: adibalcan | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 2.0
Severity: Normal | Keywords: ORM, standalone
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+---------------------------------
I have Django standalone project where we use just the ORM part and I have
the following error when I try to migrate using
{{{
python manage.py makemigrations
}}}
:

AttributeError: 'Settings' object has no attribute 'ROOT_URLCONF'

--
Ticket URL: <https://code.djangoproject.com/ticket/32857>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 17, 2021, 2:25:27 AM6/17/21
to django-...@googlegroups.com
#32857: Django standalone ORM AttributeError: 'Settings' object has no attribute
'ROOT_URLCONF'
---------------------------------+--------------------------------------
Reporter: adibalcan | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: ORM, standalone | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by adibalcan):

* status: new => closed
* resolution: => fixed


Comment:

The issue was in Django 1.9 I have fixed it by updating to Django 1.9.3

--
Ticket URL: <https://code.djangoproject.com/ticket/32857#comment:1>

Django

unread,
Jun 17, 2021, 3:09:27 AM6/17/21
to django-...@googlegroups.com
#32857: Django standalone ORM AttributeError: 'Settings' object has no attribute
'ROOT_URLCONF'
---------------------------------+--------------------------------------
Reporter: Adrian Balcan | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 2.0
Severity: Normal | Resolution: invalid

Keywords: ORM, standalone | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Carlton Gibson):

* resolution: fixed => invalid


Comment:

Please see TicketClosingReasons/UseSupportChannels.

--
Ticket URL: <https://code.djangoproject.com/ticket/32857#comment:2>

Reply all
Reply to author
Forward
0 new messages