another problems
On 22 Mar, 20:10, Bobby Roberts wrote:
> how else would you pull in information from another model into the
> current model list view in admin?
>
> On Mar 22, 2:41 pm, Siara wrote:
>
>
>
> > Why are you doing this way ?
> > The better id
Why are you doing this way ?
The better idea is to make it that way:
class YourModelAdmin(admin.ModelAdmin):
model = YourModel
list_display = [ 'firstName', 'lastName' ]
admin.site.register(YourModel, YourModelAdmin)
and i'm sure then you will be able to sort olums
On 22 Mar, 19:28, Bobby
Hi i think that i found 'funny' thing during writing my app.
I have app which returns JSON with data for second app. Interesting
part of my JSON looks like that:
"availability_internet" : "True",
"availability_phone" : "False",
In seconds app models.py i have lines like that:
availability_intern
Thx for help,
DECIMAL_SEPARATOR = ',' wasnt neccesary when USE_L10N=False cause its
default delimeter
On 15 Mar, 20:07, emonk wrote:
> try this in settings.py
>
> USE_L10N = False
> DECIMAL_SEPARATOR = ','
>
> 2011/3/15 Siara
>
>
>
> > Hi
Hi
I tried to find solution to my problem on django-developers group and
they send me here ;)
Ant there is my problem:
I'm writing application which return json with data for another app.
I'm from Poland so I set LANGUAGE_CODE = 'pl', the problem is that we
are using coma instead of dot in float nu
5 matches
Mail list logo