A SlugField with prepopulate_from does not work for stacked or tabular edit_inline objects.
I noticed this over the weekend and haven't had a chance to look at it much further. Here's an example:
class InlineObject(meta.Model):
name = meta.CharField(maxlength=200, core=True)
slug = meta.SlugField(prepopulate_from=(("name"),), core=True)
otherobj = meta.ForeignKey(Otherobj, edit_inline=meta.STACKED, num_in_admin=2)
In the admin for Otherobj
the javascript slugification does not work for the InlineObject
s.
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to xian
|
Version: |
→ newforms-admin
|
Keywords: |
nfa-someday added
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Reassigning to xian since he's working on JS for newforms-admin and should ensure that this is fixed :)