Hi all,
I am getting javascript error in "add" form in Django admin because
grapelli safe is using first_field in change_form.html template.
It was defined in django 1.6 at django.contrib.admin.helpers but I didnt
find that in Django 1.7.
Please let me know if I missed something with this issu
I just created an app that have the structure below:
project_name
- theme_one
-- static
-- templates
I got it working but my big question now is how do I make it so that from
inside the settings page I can choose from for example theme_one and
theme_two and switch?
--
You received this messag
My guess is that you can define your own form for PageAdmin or
DisplayableAdmin, setting the default value to something you like.
Simply create a custom admin class using your custom form and register
as many models as you want with the new admin class (you'll need to
unregister them first).
Any luck with this?
On Monday, 28 July 2014 17:46:34 UTC+1, Jackson Hong wrote:
>
> I found that the Displayable model has
>
> status = models.IntegerField(_("Status"),
> choices=CONTENT_STATUS_CHOICES, default=CONTENT_STATUS_PUBLISHED,
> help_text=_("With Draft chosen, will o