Re: Groups and summarys in template

2019-12-01 Thread Integr@te System
Hi Man, Plz try: desired_value = Account.object.aggregate( subtotal = sum('Value', filter = Q(Date = date.todat( On Mon, Dec 2, 2019, 07:14 Elias Coutinho wrote: > Well, the result I expect is a list with subtotals similar to the figure > below: > > [image: image.png] > > Can you do it

Re: Link a .css to a Html template

2019-12-01 Thread אורי
Hi, Look at these templates for example: https://github.com/speedy-net/speedy-net/blob/master/speedy/core/templates/base.html#L12-L27 https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13

Link a .css to a Html template

2019-12-01 Thread Leó Horváth
Hi guys, I am experiencing an error while trying to Link a .css file to a Html template of one of my Views. What is the correct way to do it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Groups and summarys in template

2019-12-01 Thread Elias Coutinho
Well, the result I expect is a list with subtotals similar to the figure below: [image: image.png] Can you do it without javascript? Em sáb., 30 de nov. de 2019 às 03:36, Dvenum escreveu: > Not sure I understand, what you doing, but you may use F() expression to > compare fields in the query:

Re: How can I host my application in web hosting?

2019-12-01 Thread RLM
Hello. AWS has no limitations. Simply start an instance running ubuntu, windows, or what ever, just like you have for development,  install dependencies and updates and you should be good to go. Read the Docs first, it's not click and go like some other providers. With AWS you are totally

Re: How can I host my application in web hosting?

2019-12-01 Thread Integr@te System
Hi friend, In real world matter, it not just technical aspect, also one should consider business, services, sth else around from now to future. For publish in production, ask provider's technical that you want first as essential basic, break down which items, then business and so on. In

Re: How can I host my application in web hosting?

2019-12-01 Thread Asif Khan
I am using Webfaction and quit happy. it is quit fast and scalable platform for Django application. On Thursday, August 22, 2019 at 4:47:51 PM UTC+5, Wasim Rana wrote: > > Hello, I am building a web application locally in my computer. It's almost > done and I want to host it in Siteground

Re: orm relation

2019-12-01 Thread Integr@te System
Hi, here u can try for complex queryset https://docs.djangoproject.com/en/2.2/topics/db/queries/#complex-lookups-with-q On Sun, Dec 1, 2019, 21:08 bill dexter <55dexte...@gmail.com> wrote: > ELECT a.matr > ,[nom] > ,[prn] > ,cast([dat_nais] as date) as dat_nais > ,

Re: no such table: main.auth_user__old

2019-12-01 Thread Tim Graham
If you're using Django 2.1, try upgrading to the latest Django 2.1.x (2.1.14 as of this writing). You should always use the latest point release to get the most recent security and bug fixes. See https://stackoverflow.com/questions/53637182/django-no-such-table-main-auth-user-old On

orm relation

2019-12-01 Thread bill dexter
ELECT a.matr ,[nom] ,[prn] ,cast([dat_nais] as date) as dat_nais , (YEAR(getdate()) - YEAR(dat_nais)) as age ,cast([dat_deces] as date) as dat_deces ,cast([dat_imm] as date) as dat_imm ,cast([dat_aj] as date) as dat_j ,[cod_position] ,YEAR(dat_imm) as

Re: How can I host my application in web hosting?

2019-12-01 Thread Debabrata Chakraborty
Thanks a bunch Jorge, That was very helpful. Best Deb On Sun, Dec 1, 2019 at 11:31 AM Jorge Gimeno wrote: > Deb, > > Digital Ocean will allow you to run what you can install. If you can get > it on the server, you can use it. > > Heroku and Python Anywhere do have specific services that are

Re: no such table: main.auth_user__old

2019-12-01 Thread Integr@te System
Hi, plz use python 3.7. On Sun, Dec 1, 2019, 01:53 Chetan Rokade wrote: > Hi Friends > Getting below error while adding new user from admin page. I am using > python 3.8 with django 2.1 version > Exception Value: > > no such table: main.auth_user__old > > > > -- > You received this message