Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Django Models __str__() #51

Open
ChristopherHammond13 opened this issue Feb 27, 2017 · 4 comments
Open

Django Models __str__() #51

ChristopherHammond13 opened this issue Feb 27, 2017 · 4 comments
Assignees

Comments

@ChristopherHammond13
Copy link
Contributor

We should probably write proper str functions for our Django models.

This should make general management much easier so that we don't have to wade through hundreds of UserProfile objects, etc.

@Faiz-zz-zz
Copy link
Contributor

Hi @ChristopherHammond13 ,

Thanks for your suggestions. We will be looking into it as soon as the higher management approves!

Kind regards.
Faiz

@jermenkoo
Copy link
Contributor

@ChristopherHammond13 any wishes on what should be shown? I'd do it.

@ChristopherHammond13
Copy link
Contributor Author

@jermenkoo I was thinking, for example, that the str function would show the user's name instead of UserProfile

@zipy124
Copy link
Member

zipy124 commented Oct 6, 2019

Literally encountering this now lmaoooo

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

No branches or pull requests

4 participants