attendees have weird uniform representation

Bug #400155 reported by Miklos Koren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MKKE konferencia honlap
New
Undecided
Unassigned

Bug Description

I see myself as "admin accepted: None", which is not a very helpful representation of a person.

Revision history for this message
ViktorNagy (viktor-nagy) wrote : Re: [Bug 400155] [NEW] attendees have weird uniform representation

this is how str(SubmissionInstance) represents the object, as you would like
different text in the template use
submission.attendee, submission.accepted, etc where submission is the
template variable for SubmissionInstance

the str(SubmissionInstance) representation is needed for the admin as the
admin templates are less flexible

On Thu, Jul 16, 2009 at 11:57 AM, Miklos Koren <email address hidden> wrote:

> Public bug reported:
>
> I see myself as "admin accepted: None", which is not a very helpful
> representation of a person.
>
> ** Affects: mkke-konferencia-honlap
> Importance: Undecided
> Status: New
>
> --
> attendees have weird uniform representation
> https://bugs.launchpad.net/bugs/400155
> You received this bug notification because you are the registrant for
> MKKE konferencia honlap.
>

Revision history for this message
Miklos Koren (korenmiklos) wrote :

Ezt értem, de az adminban is jó lenne valami hasznosabb. Vagyis az unicode methodot kéne átírni.

Revision history for this message
ViktorNagy (viktor-nagy) wrote : Re: [Bug 400155] Re: attendees have weird uniform representation

na ez új, mondd, mit szeretnél látni?!

On Thu, Jul 16, 2009 at 3:23 PM, Miklos Koren <email address hidden> wrote:

> Ezt értem, de az adminban is jó lenne valami hasznosabb. Vagyis az
> unicode methodot kéne átírni.
>
> --
> attendees have weird uniform representation
> https://bugs.launchpad.net/bugs/400155
> You received this bug notification because you are the registrant for
> MKKE konferencia honlap.
>

Revision history for this message
Miklos Koren (korenmiklos) wrote :

Nem egészen értem az AccepterRoleAbstract, AttendeeUser, és Attendee közti kapcsolatokat, de asszem az Attendee unicode-ját javítanám így:

def __unicode__(self):
  return '%s %s at %s' % (self.user.first_name, self.user.last_name, self.conference_title)

(Vagy nem lehet validálni, hogy a Usernek legyen rendes neve?)

A submissionből pedig kivenném az accepted-et.

Ezeket elvileg én is meg tudom csinálni, egyszer már sikerult bzr pusholni az mktudegy szerverre, csak ne akadjunk össze.

Revision history for this message
Miklos Koren (korenmiklos) wrote :

ok, látom, hogy a User eleve ezt csinálja. (márminthogy teljes név, és csak ha nincs, akkor username). bocs.

Revision history for this message
ViktorNagy (viktor-nagy) wrote :

nem fogunk összeakadni, erre van a bzr merge

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.