Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Talk proposals show up as "TalkProposal object" in admin #77

Open
felixc opened this issue Jun 2, 2013 · 6 comments
Open

Talk proposals show up as "TalkProposal object" in admin #77

felixc opened this issue Jun 2, 2013 · 6 comments

Comments

@felixc
Copy link
Member

felixc commented Jun 2, 2013

In the Admin section for managing talk proposals, everything shows up as "TalkProposal object". It would be more useful for the model's string representation to be something like "Author Name: Title Of This Talk".

@dianaclarke
Copy link
Member

Yup. This is the symposion default. This is already on the list to be fixed by the contractor for the PyCon USA branch. That might not be in time for us though.

@MichaelDiBernardo
Copy link
Member

This should be a super easy fix -- just override unicode in TalkProposal model object!

I'll see if I can get to it tonight.

On 2013-06-02, at 5:36 PM, diana wrote:

Yup. This is the symposion default. This is already on the list to be fixed by the contractor for the PyCon USA branch. That might not be in time for us though.


Reply to this email directly or view it on GitHub.

@dianaclarke
Copy link
Member

Apparently, it's not that easy. I thought so at first too...

@dianaclarke
Copy link
Member

When I suggested the same thing a month ago, I was told:

"""
You could not have fixed the old admin due to the way that Pinax manages things. It does not behave like a normal django site/application, and making admin changes would end up breaking the system in most cases as almost all objects are tied to other objects and need to be edited in concert. Why I gave up long ago.
"""

@MichaelDiBernardo
Copy link
Member

Sorry about that last pull request, I totally thought I was working on my own fork. Turns out you guys gave me commit privileges to the repo and I didn't even notice. Bad idea :)

Anyhow, can someone check out a4bacf4 ? Diana, I totally believe what your source was saying, but I checked this out locally in shell as well as in local admin and it seemed to be just fine.

@MichaelDiBernardo
Copy link
Member

Argh, specifically a4bacf4#L0R133 -- sorry, my editor obliterates trailing whitespace, and it seems there was a lot of that in the files I edited :)

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

No branches or pull requests

3 participants