Re: 2 decimals, always

2018-01-21 Thread Carmelo J . Morales Muñoz
thankd for your help its ok thanks!...

El viernes, 19 de enero de 2018, 14:13:24 (UTC+1), Kasper Laudrup escribió:
>
> Hi Carmelo, 
>
> On 2018-01-19 13:24, Carmelo J. Morales Muñoz wrote: 
> > hello! 
> > 
> > I don´t know how solve this... I need django show always float numbers 
> > in this format: 
> > 
> > 1234.56 
> > 
> > actually use 1 decimal only, example:   1234,1 
> > 
> > I need 1234,10 
> > 
>
> You don't write anything about which context you're talking about, but 
> assuming you're talking about the Django templating system, you should 
> have a look at this: 
>
> https://docs.djangoproject.com/en/2.0/ref/templates/builtins/#floatformat 
>
> Cheers, 
>
> Kasper 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/021269e8-c6bc-4150-b812-8a87e3ddc1ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


2 decimals, always

2018-01-19 Thread Carmelo J . Morales Muñoz
hello!

I don´t know how solve this... I need django show always float numbers in 
this format:

1234.56 

actually use 1 decimal only, example:   1234,1

I need 1234,10

thanks for your help

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4448d0ec-4796-4d88-9b09-0f17a4f3870f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple websites on same host using Apache as Webserver.

2018-01-19 Thread Carmelo J . Morales Muñoz
I have same problen you, i have use gunicorn but I don´t know how can I 
solve it

El miércoles, 17 de enero de 2018, 13:09:16 (UTC+1), Mahesh Vernekar 
escribió:
>
> Can someone provide help on configuring multiple websites on the same host.
> I have tried the appropriate configuration.
> But the new website created opens in the folder of the old website.
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c45b6841-0d91-4ddd-8567-018c37db348c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.