I didn't quite understood the question, you want to find the division of
two prices for each item, but each item has only one price according to the
model you posted.
can you express what you want to accomplish in python or SQL?
On Sat, Nov 26, 2016 at 10:15 PM, Artem Bernatskyy <
artem.bernats..
If anyone is interested how i accomplished this without django-filter
http://pastebin.com/6NLuM3eQ
--
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
Hello
Is it possible to do in ORM or in PostgreSQL
Assume we have a table with date and price
# class Item(models.Model):
#price = models.DecimalField()
#date = models.DateField()
We need for every item in table find division of two prices by two dates
and then order_by that result of
On 11/26/2016 9:02 AM, ludovic coues wrote:
the settings.py file of your project
Thank you. Is that documented anywhere? I followed various links; none
of which pointed me to that.
2016-11-25 23:15 GMT+01:00 bob gailer :
https://docs.djangoproject.com/en/1.9/topics/logging/
shows some logg
It seems to work. Thanks
On Saturday, November 26, 2016 at 3:36:42 PM UTC+1, ludovic coues wrote:
>
> Have you tried `getattr(u, 'individualprofile', None)` ?
>
> 2016-11-26 15:17 GMT+01:00 >:
> > Hi guys
> >
> > I'm on Django 1.10, and as described shortly here:
> https://dpaste.de/Bgao, I
Have you tried `getattr(u, 'individualprofile', None)` ?
2016-11-26 15:17 GMT+01:00 :
> Hi guys
>
> I'm on Django 1.10, and as described shortly here: https://dpaste.de/Bgao, I
> have created an abstract user profile which is tied to Django's User model
> with OneToOneField relationship. So I hav
Hi guys
I'm on Django 1.10, and as described shortly here: https://dpaste.de/Bgao,
I have created an abstract user profile which is tied to Django's User
model with OneToOneField relationship. So I have AbstractProfile, and then
there are IndividualProfile and BusinessProfile, each of which inh
the settings.py file of your project
2016-11-25 23:15 GMT+01:00 bob gailer :
> https://docs.djangoproject.com/en/1.9/topics/logging/
>
> shows some logging configurations, but does not tell me where to put them.
>
> Where would you suggest?
>
> --
> You received this message because you are subscr
Is there a plugin that allows me to start and stop django server from
command line?
Suppose I have multiple sites running at the same time, so going `ps aux`
to manually inspect which site to kill is a time stealer. I expect that
`manage.py server stop` stop all servers that were run for the cu
According the documentation, migrations should be backwards compatible, see
https://docs.djangoproject.com/en/1.9/topics/migrations/#supporting-multiple-django-versions.
Hence there shouldn't be any reason to make different versions of any
application for different versions of Django. Also I ca
10 matches
Mail list logo