﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22428	Model docstring not parsed in model detail	Axel Amigo Arnold	nobody	"Using the same example that comes in [https://docs.djangoproject.com/en/1.6/ref/contrib/admin/admindocs/#model-reference the documentation], the documentation helpers are not working, but '''they do work in the views'''.

My models:

{{{
class Growth(models.Model):
        """"""
        A Growth model. It must only exist one in the database.
        References :model:`auth.User`.

        """"""

        last_follow_job = models.DateTimeField()

}}}

My views:

{{{
def twitter_login(request, context=Context({})):
        """"""
        Asks a user permissions for our twitter app.

        **Session**

        `oauth_token`
                Stores Twitter's oauth_token
                in the session.

        `oauth_token_secret`
                Stores Twitter's oauth_token_secret
                in the session.
                It uses :model:`growth.TwitterAccount`

        **Context**
        `RequestContext`

        """"""
        from twython import Twython
        t = Twython(settings.TWITTER_KEY,  settings.TWITTER_SECRET)
        auth_props = t.get_authentication_tokens(callback_url='http://www.derpaderp.com/twitter_callback/')
        request.session['oauth_token'] = auth_props['oauth_token']
        request.session['oauth_token_secret'] = auth_props['oauth_token_secret']
        return HttpResponseRedirect(auth_props['auth_url'])

}}}

"	Bug	closed	contrib.admindocs	1.6	Normal	duplicate	helpers, models		Accepted	1	0	0	0	0	0
