[Django] #23607: collectstatic: Documentation error

3 views
Skip to first unread message

Django

unread,
Oct 6, 2014, 4:02:18 PM10/6/14
to django-...@googlegroups.com
#23607: collectstatic: Documentation error
--------------------------------------+---------------------------
Reporter: Rolandde | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.staticfiles | Version: 1.7
Severity: Normal | Keywords: collectstatic
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+---------------------------
Found in 1.7
(https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/#collectstatic)

The example reads:
class MyStaticFilesStorage(storage.StaticFilesStorage):
....
super(CustomStaticFilesStorage, self).__init__(*args, **kwargs)

The class name and the first variable in the super call should be
identical. This example throws an exception.

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

Django

unread,
Oct 6, 2014, 5:46:29 PM10/6/14
to django-...@googlegroups.com
#23607: collectstatic: Documentation error
----------------------------------+----------------------------
Reporter: Rolandde | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: contrib.staticfiles | Version: 1.7
Severity: Normal | Resolution: fixed

Keywords: collectstatic | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 1
UI/UX: 0 |
----------------------------------+----------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"87eedfff44d23a8600557bcd9fa3ebbea0f3841e"]:
{{{
#!CommitTicketReference repository=""
revision="87eedfff44d23a8600557bcd9fa3ebbea0f3841e"
Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.

Thanks Rolandde for the report.
}}}

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

Django

unread,
Oct 6, 2014, 5:46:40 PM10/6/14
to django-...@googlegroups.com
#23607: collectstatic: Documentation error
----------------------------------+----------------------------
Reporter: Rolandde | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: contrib.staticfiles | Version: 1.7
Severity: Normal | Resolution: fixed

Keywords: collectstatic | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 1
UI/UX: 0 |
----------------------------------+----------------------------

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

In [changeset:"dbd52f339cdae7fb57526cb86d45792438799e5b"]:
{{{
#!CommitTicketReference repository=""
revision="dbd52f339cdae7fb57526cb86d45792438799e5b"
[1.7.x] Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.

Thanks Rolandde for the report.

Backport of 87eedfff44 from master
}}}

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

Reply all
Reply to author
Forward
0 new messages