#11146: RequestSite needs __unicode__ parameter
-----------------------------------+----------------------------------------
Reporter: sam265 | Owner: nobody
Status: closed | Milestone: 1.1
Component: Contrib apps | Version: SVN
Resolution: invalid | Keywords: sites, RequestSite
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Changes (by kmtracey):
* status: new => closed
* resolution: => invalid
Old description:
> Request site needs the following code
>
> def __unicode__(self):
> return self.name
New description:
Request site needs the following code
{{{
def __unicode__(self):
return self.name
}}}
Comment:
!RequestSite has a `__unicode__` method:
http://code.djangoproject.com/browser/django/trunk/django/contrib/sites/models.py#L70
so I'm not sure what it is that you think is needed here. What problem
prompted opening this ticket?
--
Ticket URL: <http://code.djangoproject.com/ticket/11146#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---