Skip to content
New issue

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

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

Already on GitHub? # to your account

When editing a page, admin forms forget title/slug/etc #141

Open
ajrouvoet opened this issue Apr 13, 2016 · 6 comments
Open

When editing a page, admin forms forget title/slug/etc #141

ajrouvoet opened this issue Apr 13, 2016 · 6 comments

Comments

@ajrouvoet
Copy link

Steps to reproduce

  1. create a page using the django admin.
  2. click on the page title

The page has no title/slug/language set in the edit form.

@batiste
Copy link
Owner

batiste commented Apr 13, 2016

I can't really reproduce. Could you give me more information? How do you run the software? Give me as much details as possible.

@stakemura
Copy link

This behavior seems to happen when user create or open the sub locale pages about slug.
But I couldn't reproduce this about title or language.
Why slug field is located on Content model?
I guess this field should be located on Page model.

@batiste
Copy link
Owner

batiste commented Apr 26, 2016

I discovered some bugs. Maybe that would fix your problems:

8094050

All the translatable fields are located in the content model... Because they need to be translatable.

@stakemura
Copy link

I apologize for the insufficient explanation.
I see your point.
I often use '{% show_content "slug_name" request.LANGUAGE_CODE %}' in template.
Since if admin doesn't change slug by default when create or open the sub locale pages, it will become more convenient for me.

@batiste
Copy link
Owner

batiste commented Apr 28, 2016

@stakemura Sorry but I still understand anything. You need to be more precise about what you are doing, what you are expecting to see, and what you see.

@stakemura
Copy link

Ok. After the above fix is comitted, I will show you by code.

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

No branches or pull requests

3 participants