It is not clear if those fields can be used in the admin list interface
drop-down filters - is there a link to documentation for that?
On Wednesday, 23 October 2019 16:13:13 UTC+2, Nelson Varela wrote:
>
> Or even better... whu not use django's own auto complete feature in the
> admin:
> https:
Or even better... whu not use django's own auto complete feature in the
admin:
https://docs.djangoproject.com/en/2.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.autocomplete_fields
Op dinsdag 22 oktober 2019 00:07:40 UTC+2 schreef Wil Moskal:
>
> I have a model registered to the admin pag
For your filter problem, you probably need to use:
https://github.com/farhan0581/django-admin-autocomplete-filter
On Tuesday, 22 October 2019 00:07:40 UTC+2, Wil Moskal wrote:
>
> I have a model registered to the admin page, AuthUserFilePermissions,
> which consists of 2 foreign keys, a key to
I have a model registered to the admin page, AuthUserFilePermissions, which
consists of 2 foreign keys, a key to the defined groups, and a key to the
filepatterns. Within the add AuthUserFilePermissions, there is a select for
each. For the group this is fine, as there is only like 7-8. for the f
rote:
>
> > I've got a python program that starts up a django web app, I'm trying
> > to figure out how to pass values from the program to the web app so
> > some fields in the admin add page are automatically populated with
> > values from the program, is t
On May 9, 4:58 am, nih wrote:
> I've got a python program that starts up a django web app, I'm trying
> to figure out how to pass values from the program to the web app so
> some fields in the admin add page are automatically populated with
> values from the program, i
Hi all
I've got a python program that starts up a django web app, I'm trying
to figure out how to pass values from the program to the web app so
some fields in the admin add page are automatically populated with
values from the program, is the only way via url parameters?, I sense
its
6 pm, Asim Yuksel wrote:
>
> > I want to use a custom admin add page with custom admin look and feel.
> > What is the template to extend? I want to use something like this
>
> >http://picasaweb.google.com/110428031719333287170/BaslKsZAlbum#545448...
>
> > I tried t
/#overriding-vs-replacing-an-admin-template
Cheers,
Brandon
On Mar 30, 1:16 pm, Asim Yuksel wrote:
> I want to use a custom admin add page with custom admin look and feel.
> What is the template to extend? I want to use something like this
>
> http://picasaweb.google.com/110428031
I want to use a custom admin add page with custom admin look and feel.
What is the template to extend? I want to use something like this
http://picasaweb.google.com/110428031719333287170/BaslKsZAlbum#5454485792741726834
I tried to hack the html by viewing the source but it is time
consuming and
Hi!
Thanks it works like a charm now!
One last thing.. what if I want its effects to be limited
only to the "add a new" admin page, and not to the "change" one?
This solution always limits the query regarding of how many foreign
keys exist when modifying an existing media object,
sorry for not po
On Feb 5, 8:25 am, Grimmo wrote:
> Hi,
> I have these models for my application:
>
> class Movie (models.Model):
> Title = models.CharField(max_length=100)
> Director = models.CharField(max_length=100,blank=True)
> Year = models.CharField(max_length=100,blank=True)
>
Hi,
I have these models for my application:
class Movie (models.Model):
Title = models.CharField(max_length=100)
Director = models.CharField(max_length=100,blank=True)
Year = models.CharField(max_length=100,blank=True)
Backed_up = models.BooleanField(default=True)
13 matches
Mail list logo