Skip to content

Fixed #20565 -- Added template examples for GCBV. #1271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2013
Merged

Fixed #20565 -- Added template examples for GCBV. #1271

merged 1 commit into from
Jun 14, 2013

Conversation

blfpd
Copy link

@blfpd blfpd commented Jun 14, 2013

Thanks to David Reitter for the report.

.. code-block:: html+django

<form action="" method="post">{% csrf_token %}
<p><label for="id_name">Name:</label>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think {{ form.as_p }} is better here.

@mjtamlyn
Copy link
Member

Generally this looks good. Would it be possible for you to do the date based views as well? The ticket isn't really done with only have the views. Mixins obviously don't need examples.

Thanks to David Reitter for the report,
and to Marc Tamlyn and Baptiste Mispelon for the review.
mjtamlyn added a commit that referenced this pull request Jun 14, 2013
Fixed #20565 -- Added template examples for GCBV.
@mjtamlyn mjtamlyn merged commit f656757 into django:master Jun 14, 2013
@mjtamlyn
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants