mirror of
https://github.com/django/django.git
synced 2025-07-19 09:09:13 +00:00
[1.0.X] Fixed #10437 -- Corrected typo in Widget media example. Thanks to Manuel Saelices.
Merge of r10149 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c2e4e54eb6
commit
ade3dcb494
@ -152,7 +152,7 @@ The FancyCalendar widget inherits all the media from it's parent widget. If
|
|||||||
you don't want media to be inherited in this way, add an ``extend=False``
|
you don't want media to be inherited in this way, add an ``extend=False``
|
||||||
declaration to the media declaration::
|
declaration to the media declaration::
|
||||||
|
|
||||||
class FancyCalendar(Calendar):
|
class FancyCalendarWidget(CalendarWidget):
|
||||||
class Media:
|
class Media:
|
||||||
extend = False
|
extend = False
|
||||||
css = {
|
css = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user