Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  fixed
 Keywords:  auth.User  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"6a6f294f518a96334c73b2e5f934cdd2f0feda7e"]:
 {{{
 #!CommitTicketReference repository=""
 revision="6a6f294f518a96334c73b2e5f934cdd2f0feda7e"
 [1.7.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views
 /generic-editing.txt.

 Thanks adminq80 at gmail.com.

 Backport of 87776859af from master
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.e141f892a22622d9d67fce6971214440%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  fixed
 Keywords:  auth.User  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"cddbaca6976a1e6faba8e846b87e27b35e268198"]:
 {{{
 #!CommitTicketReference repository=""
 revision="cddbaca6976a1e6faba8e846b87e27b35e268198"
 [1.6.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views
 /generic-editing.txt.

 Thanks adminq80 at gmail.com.

 Backport of 87776859af from master
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.292bbed2d4295b9747d6ee8414f9b5b7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  fixed
 Keywords:  auth.User  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+
Changes (by Tim Graham ):

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


Comment:

 In [changeset:"87776859affc45b9b485d8377c046dd464aaeef4"]:
 {{{
 #!CommitTicketReference repository=""
 revision="87776859affc45b9b485d8377c046dd464aaeef4"
 Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-
 editing.txt.

 Thanks adminq80 at gmail.com.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.94d236a6ed3d462547ed59510daea2e2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  fixed
 Keywords:  auth.User  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"41ab97b6a4e785a35b6199134aad39091b6b1aab"]:
 {{{
 #!CommitTicketReference repository=""
 revision="41ab97b6a4e785a35b6199134aad39091b6b1aab"
 [1.5.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views
 /generic-editing.txt.

 Thanks adminq80 at gmail.com.

 Backport of 87776859af from master
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.3021fc8e778f9de968e28248f67e701a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:
 Keywords:  auth.User  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+
Changes (by aaugustin):

 * status:  closed => new
 * resolution:  invalid =>
 * stage:  Unreviewed => Accepted


Comment:

 Oh, yeah, there's a typo in the import line. I was misled by the
 suggestion to switch to `get_user_model()`.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.9549cabe36f439d45bc2e3e74aaf3f4d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+--
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  invalid
 Keywords:  auth.User  | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+--

Comment (by abdul):

 I am using Django 1.6.4 and I tried `from django.contrib.auth import User`
 and it didn't work for me. I propose to modify the importing path to look
 like `from django.contrib.auth.models import User`.

 Sincerely,
 Abdul

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.57f2bc3e2a21c4ffacd3041b4d3702cc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+--
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  invalid
 Keywords:  auth.User  | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+--
Changes (by aaugustin):

 * resolution:  fixed => invalid


Comment:

 - Importing the `User` model certainly works; if you run into trouble,
 please see TicketClosingReasons/UseSupportChannels for ways to get help.
 - Using `get_user_model()` in a `ForeignKey` declaration is wrong and will
 raise an exception in Django 1.7; if you want to support custom user
 models, the proper idiom is `ForeignKey(settings.AUTH_USER_MODEL)`
 - The change proposed above wasn't committed, so the ticket should have
 stayed open until someone had either committed the change or rejected the
 ticket — which I'm doing now.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.0bd2f7c96eadc142dec1a9a0b528%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+--
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  fixed
 Keywords:  auth.User  | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+--
Changes (by anonymous):

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


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.c0849b9d9f6fe4719a09b0de6c53e4e3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22575: auth.User model doesn't exist

2014-05-05 Thread Django
#22575: auth.User model doesn't exist
---+--
 Reporter:  adminq80@… |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:
 Keywords:  auth.User  | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+--
Changes (by abdul):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 The documentation is now updated.

 Sincerely,
 Abdul

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.e48ed913d3f4fc6ec12792c6ebf5e741%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.