[Django] #24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions

6 views
Skip to first unread message

Django

unread,
May 7, 2015, 4:39:54 AM5/7/15
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
-------------------------------+--------------------
Reporter: sephii | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
The docs are unclear about the DoesNotExist exception, which is only
available as an attribute of model classes. Only ObjectDoesNotExist is in
django.core.exceptions.

https://docs.djangoproject.com/en/1.8/ref/exceptions/#django.core.exceptions.DoesNotExist

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

Django

unread,
May 7, 2015, 4:45:35 AM5/7/15
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
-------------------------------+------------------------------------

Reporter: sephii | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by bmispelon):

* needs_docs: => 0
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* stage: Unreviewed => Accepted


Comment:

Hi,

I agree, we can probably improve on that.

Thanks.

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

Django

unread,
May 7, 2015, 10:00:22 PM5/7/15
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
-------------------------------+------------------------------------

Reporter: sephii | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by davidkrisch):

I've attempted a fix for this and submitted a pull request:
https://github.com/django/django/pull/4624
This is my first attempt working with the docs, please be gentle. :-)

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

Django

unread,
May 8, 2015, 7:27:21 AM5/8/15
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
-------------------------------+------------------------------------

Reporter: sephii | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by timgraham):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/24763#comment:3>

Django

unread,
May 8, 2015, 1:06:11 PM5/8/15
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
-------------------------------+------------------------------------
Reporter: sephii | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.8
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"1a62f197078eae72eba85f23aabacc06ad4c7d79" 1a62f19]:
{{{
#!CommitTicketReference repository=""
revision="1a62f197078eae72eba85f23aabacc06ad4c7d79"
Fixed #24763 -- Moved DoesNotExist exception to model docs.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24763#comment:4>

Django

unread,
May 8, 2015, 1:16:35 PM5/8/15
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
-------------------------------+------------------------------------
Reporter: sephii | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.8

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"51ebc8805e1a0bd5d347587f483fc07fc206df9f" 51ebc88]:
{{{
#!CommitTicketReference repository=""
revision="51ebc8805e1a0bd5d347587f483fc07fc206df9f"
[1.8.x] Fixed #24763 -- Moved DoesNotExist exception to model docs.

Backport of 1a62f197078eae72eba85f23aabacc06ad4c7d79 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24763#comment:5>

Django

unread,
Jul 22, 2020, 2:21:02 PM7/22/20
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
------------------------------------+------------------------------------
Reporter: Sylvain Fankhauser | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.8

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------------+------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"b5f0efa19c82d274082bcde8a8acae5038667614" b5f0efa1]:
{{{
#!CommitTicketReference repository=""
revision="b5f0efa19c82d274082bcde8a8acae5038667614"
Refs #24763 -- Moved DoesNotExist to Model class docs.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24763#comment:6>

Django

unread,
Jul 22, 2020, 2:22:03 PM7/22/20
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
------------------------------------+------------------------------------
Reporter: Sylvain Fankhauser | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.8

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------------+------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"77abe9881657b31124dfa326aa38f7159d0d1c50" 77abe988]:
{{{
#!CommitTicketReference repository=""
revision="77abe9881657b31124dfa326aa38f7159d0d1c50"
[3.1.x] Refs #24763 -- Moved DoesNotExist to Model class docs.

Backport of b5f0efa19c82d274082bcde8a8acae5038667614 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24763#comment:7>

Django

unread,
Jul 22, 2020, 2:23:08 PM7/22/20
to django-...@googlegroups.com
#24763: Docs incorrectly state that DoesNotExist is in django.core.exceptions
------------------------------------+------------------------------------
Reporter: Sylvain Fankhauser | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.8

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------------+------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"f026d761d63ecd10b937b8009b0ad59673f772b5" f026d761]:
{{{
#!CommitTicketReference repository=""
revision="f026d761d63ecd10b937b8009b0ad59673f772b5"
[3.0.x] Refs #24763 -- Moved DoesNotExist to Model class docs.

Backport of b5f0efa19c82d274082bcde8a8acae5038667614 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24763#comment:8>

Reply all
Reply to author
Forward
0 new messages