Commit 742fba94 authored by Claude Paroz's avatar Claude Paroz
Browse files

Used the 🎫 syntax more extensively

parent 6403e07c
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ __ http://www.virtualenv.org
Rolling back to a previous revision of Django
=============================================

For this tutorial, we'll be using `ticket #17549`__ as a case study, so we'll
For this tutorial, we'll be using ticket :ticket:`17549` as a case study, so we'll
rewind Django's version history in git to before that ticket's patch was
applied. This will allow us to go through all of the steps involved in writing
that patch from scratch, including running Django's test suite.
@@ -121,7 +121,6 @@ development revision of Django when working on your own patch for a ticket!**
    Consequently, we'll be using the revision of Django just prior to that,
    `commit 39f5bc7fc3a4bb43ed8a1358b17fe0521a1a63ac`__.

__ https://code.djangoproject.com/ticket/17549
__ https://github.com/django/django/commit/ac2052ebc84c45709ab5f0f25e685bf656ce79bc
__ https://github.com/django/django/commit/39f5bc7fc3a4bb43ed8a1358b17fe0521a1a63ac

@@ -226,7 +225,7 @@ __ http://en.wikipedia.org/wiki/Test-driven_development
Writing some tests for ticket #17549
------------------------------------

`Ticket #17549`__ describes the following, small feature addition:
Ticket :ticket:`17549` describes the following, small feature addition:

    It's useful for URLField to give you a way to open the URL; otherwise you
    might as well use a CharField.
@@ -287,7 +286,6 @@ correctly in a couple different situations.
    * After reading those, if you want something a little meatier to sink
      your teeth into, there's always the `Python unittest documentation`__.

__ https://code.djangoproject.com/ticket/17549
__ http://www.diveintopython.net/unit_testing/index.html
__ http://docs.python.org/library/unittest.html

@@ -310,7 +308,8 @@ class.
Writing the code for your ticket
================================

Next we'll be adding the functionality described in `ticket #17549`__ to Django.
Next we'll be adding the functionality described in ticket :ticket:`17549` to
Django.

Writing the code for ticket #17549
----------------------------------
@@ -356,8 +355,6 @@ Re-run the tests and everything should pass. If it doesn't, make sure you
correctly modified the ``AdminURLFieldWidget`` class as shown above and
copied the new tests correctly.

__ https://code.djangoproject.com/ticket/17549

Running Django's test suite for the second time
===============================================

+1 −1
Original line number Diff line number Diff line
@@ -11,4 +11,4 @@ Bugfixes

* Restored the ability to :meth:`~django.core.urlresolvers.reverse` views
  created using :func:`functools.partial()`
  (`#22486 <http://code.djangoproject.com/ticket/22486>`_)
  (:ticket:`22486`)
+1 −1
Original line number Diff line number Diff line
@@ -10,4 +10,4 @@ Bugfixes
========

* Allowed inherited and m2m fields to be referenced in the admin
  (`#22486 <http://code.djangoproject.com/ticket/23329>`_)
  (:ticket:`22486`)
+3 −3
Original line number Diff line number Diff line
@@ -11,10 +11,10 @@ Bugfixes
========

* Allowed related many-to-many fields to be referenced in the admin
  (`#23604 <http://code.djangoproject.com/ticket/23604>`_).
  (:ticket:`23604`).

* Allowed inline and hidden references to admin fields
  (`#23431 <http://code.djangoproject.com/ticket/23431>`_).
  (:ticket:`23431`).

* Fixed parsing of the GEOS version string
  (`#20036 <http://code.djangoproject.com/ticket/20036>`_).
  (:ticket:`20036`).
+1 −2
Original line number Diff line number Diff line
@@ -13,5 +13,4 @@ Bugfixes
========

* Fixed a regression with dynamically generated inlines and allowed field
  references in the admin
  (`#23754 <http://code.djangoproject.com/ticket/23754>`_).
  references in the admin (:ticket:`23754`).
Loading