~ubuntu-branches/ubuntu/trusty/python-django/trusty

« back to all changes in this revision

Viewing changes to docs/ref/class-based-views/generic-editing.txt

  • Committer: Package Import Robot
  • Author(s): Luke Faraone
  • Date: 2013-08-13 16:49:39 UTC
  • mfrom: (1.1.22) (4.4.28 sid)
  • Revision ID: package-import@ubuntu.com-20130813164939-ct6oweybhkuyq4tt
Tags: 1.5.2-1
* New upstream security release.
  https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued/
  - Cross-site scripting (XSS) in admin interface
  - Possible XSS via is_safe_url

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
.. note::
14
14
 
15
 
    Some of the examples on this page assume that an ``Article`` model has been
 
15
    Some of the examples on this page assume that an ``Author`` model has been
16
16
    defined as follows in ``myapp/models.py``::
17
17
 
18
18
        from django.core.urlresolvers import reverse
36
36
 
37
37
    This view inherits methods and attributes from the following views:
38
38
 
39
 
    * :class:`django.views.generic.edit.FormView`
40
39
    * :class:`django.views.generic.base.TemplateResponseMixin`
41
40
    * ``django.views.generic.edit.BaseFormView``
42
41
    * :class:`django.views.generic.edit.FormMixin`
83
82
 
84
83
    This view inherits methods and attributes from the following views:
85
84
 
86
 
    * :class:`django.views.generic.edit.CreateView`
87
85
    * :class:`django.views.generic.detail.SingleObjectTemplateResponseMixin`
88
86
    * :class:`django.views.generic.base.TemplateResponseMixin`
89
87
    * ``django.views.generic.edit.BaseCreateView``
125
123
 
126
124
    This view inherits methods and attributes from the following views:
127
125
 
128
 
    * :class:`django.views.generic.edit.UpdateView`
129
126
    * :class:`django.views.generic.detail.SingleObjectTemplateResponseMixin`
130
127
    * :class:`django.views.generic.base.TemplateResponseMixin`
131
128
    * ``django.views.generic.edit.BaseUpdateView``
167
164
 
168
165
    This view inherits methods and attributes from the following views:
169
166
 
170
 
    * :class:`django.views.generic.edit.DeleteView`
171
167
    * :class:`django.views.generic.detail.SingleObjectTemplateResponseMixin`
172
168
    * :class:`django.views.generic.base.TemplateResponseMixin`
173
169
    * ``django.views.generic.edit.BaseDeleteView``