On 22 sep, 23:31, Daniel Roseman wrote:
> Seems like you're looking at the ForeignKey documentation. The
> reference to get_sql() is confusing and very out of date on that page
> - Q objects don't have such a method, although they may have done back
> before the merge of queryset-refactor before
On Sep 22, 10:16 pm, Nicolas Steinmetz wrote:
> Hello,
>
> I would like to present only a subset of a given models. But so far,
> in the admin, I have no value whereas there should be some.
>
> I tried several syntax but did not find the right one.
>
> Here are my implicated (and simplified) mode
Hello,
I would like to present only a subset of a given models. But so far,
in the admin, I have no value whereas there should be some.
I tried several syntax but did not find the right one.
Here are my implicated (and simplified) models :
class Dns(models.Model):
"""
DNS description
3 matches
Mail list logo