[Django] #26895: An issue migrating from django 1.6 to django 1.8.4

9 views
Skip to first unread message

Django

unread,
Jul 14, 2016, 2:53:02 AM7/14/16
to django-...@googlegroups.com
#26895: An issue migrating from django 1.6 to django 1.8.4
---------------------------------+--------------------
Reporter: mwaaas | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: 1.8
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
Know this issue have been raised a couple of times but I can't find once
that fits my user case.

So I upgraded django1.6 to 1.8.4, some of my application migrations were
failing so I decided to run the migration with fake option


Problem is I can't add users to admin now because of this error
null value in column "last_login" violates not-null constraint

I have checked the migration files in auth the field last_login was set to
null by default and its now optional. Problem that didn't take effect in
my db cause I had runned the migration with fake option.

How should rectify this.

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

Django

unread,
Jul 14, 2016, 4:40:16 AM7/14/16
to django-...@googlegroups.com
#26895: An issue migrating from django 1.6 to django 1.8.4
---------------------------------+--------------------------------------
Reporter: mwaaas | Owner: nobody
Type: Bug | Status: closed
Component: contrib.auth | Version: 1.8
Severity: Release blocker | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by claudep):

* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0


Comment:

Sorry, the ticket system is not meant as a support channel, see
[wiki:TicketClosingReasons/UseSupportChannels]

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

Reply all
Reply to author
Forward
0 new messages