Re: SVG widget for the Admin

2021-06-02 Thread Mike Dewhirst
On 1/06/2021 11:44 pm, Derek wrote: You haven't defined where in the admin interface you want this image to be displayed?  A table? I have not tried this, but could you not create an additional field on your model that returns the HTML-encoding needed to display the SVG? Derek, thanks for

Re: best tutorial or guidance for social login(facebook or google) using django allauth and rest auth

2021-06-02 Thread DJANGO DEVELOPER
it is based on social-django but I am using django-allauth. On Wed, Jun 2, 2021 at 10:58 AM Omkar Parab wrote: > try this.  > > https://stackoverflow.com/questions/61868629/page-not-found-error-when-adding-facebook-authentication > > On Wed, Jun 2, 2021, 11:12 AM DJANGO DEVELOPER > wrote: >

Customizable model field (such as SRID for geometries) and migrations

2021-06-02 Thread Olivier Dalang
Dear List, I'm working on a Django app whose models have geometry fields and that will be deployed in several geographic locations. Using a globally available reference system (WGS84) and reprojecting on the fly will not work due to performance and accuracy implications for geometric queries.

Django developer

2021-06-02 Thread mah...@gmail.com
Hi we are looking for a fullstack developer with python, django, javascript, css and html experience. please dm med att mah...@gmail.com and sen us your resume. If you have prior experience we would like to se some of your projects before signing a contract. thx Theo -- You received

Django security releases issued: 3.2.4, 3.1.12, and 2.2.24

2021-06-02 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2021/jun/02/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To

How to create .exe file of django project ?

2021-06-02 Thread Tejas Tendulkar
Hello,I create django website using django and jquery but i want to convert into desktop application.I tried pyinstaller but there is some problem with pyinstaller.It create exe file but but when i open the exe it open cmd promt and close automatically.Is there any other way to convert into

Джанго проект

2021-06-02 Thread КОРШУНОВ ГЕОРГИЙ
Всем привет, я начинающий разработчик. Где я могу почитать полный, подробный гид по использованию фреймворка джанго? Минимум воды, максимум эффективной информации, подскажите пожалуйста. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Resolution for #32503

2021-06-02 Thread Omkar D
I am waiting for this https://code.djangoproject.com/ticket/32503 this ticket to get resolved. For me it is standing as a blocker for upgrading from 2.2 to 3.2.x as my project has many JSON and Textfields. I expected it to be included in 3.2.4. Just want to know in which version this patch can

Re: Where can I work as a freelancer (Django dev)

2021-06-02 Thread Gobi Dasu
Hi Allison, Nikola, and others in this group for whom it is relevant. We'd love to have you join our talent network of software developers, data scientists, and designers. Our site is ldtalent.org which has some important FAQs. If you are already strong in your

Re: Джанго проект

2021-06-02 Thread Chelsea Fan
Антонио Меле " джанго 2 в примерах" On Wed, 2 Jun 2021, 5:43 pm КОРШУНОВ ГЕОРГИЙ, wrote: > Всем привет, я начинающий разработчик. Где я могу почитать полный, > подробный гид по использованию фреймворка джанго? Минимум воды, максимум > эффективной информации, подскажите пожалуйста. > > -- > You

Re: CSS not linking with HTML

2021-06-02 Thread sukhy gill
Dear frnd, I am getting stuck at same point with static with new project. May I get setting for settings.py ? Regards On Sat, May 29, 2021, 18:29 Chelsea Fan Is it working now? > > On Sat, 29 May 2021, 3:40 pm lalit suthar, > wrote: > >> read this

Re: How to create .exe file of django project ?

2021-06-02 Thread Kasper Laudrup
On 02/06/2021 14.06, Tejas Tendulkar wrote: > Is there any other way to convert into desktop application ? > I would say the short answer is "no". At least not in the way you have tried so far. You would probably be able to somehow make the development server run your code as an executable with

I want to hire django developers

2021-06-02 Thread mah...@gmail.com
Hi we are looking for a fullstack developer with python, django, javascript, css and html experience. please email me mahj...@gmail.com and send us your resumé. If you have prior experience i would like to se some of your projects before signing a contract. thx Theo -- You received

Re: Migration auth.0011_update_proxy_permissions from Django 2.2 fails to apply

2021-06-02 Thread abhinav
Hi, @julien i also encountered this issue did you get a fix for the issue On Tuesday, April 9, 2019 at 4:08:29 PM UTC+5:30 Julien Enselme wrote: > @Arpit Singh: I am in a single database setup and we don't use database > routers. As far as I know, the migration was never applied before. But

Re: Django developer

2021-06-02 Thread Veera Raj
veerarajzx10r.pdf On Wed, Jun 2, 2021, 4:30 PM mah...@gmail.com wrote: > Hi > > we are looking for a fullstack developer with python, django, javascript, > css and html experience. > > please dm med att

Re: SVG widget for the Admin

2021-06-02 Thread Derek
When you say "I tried your suggestion and had no success." what exactly did you try - i.e. what code did you use and what errors did you get? WRT "Not sure where this should live for the Admin to call it and display the image." - it lives exactly as I showed it in my example; its a

Re: CSS not linking with HTML

2021-06-02 Thread Michael Thomas
I'm guessing you're running a development server (manage.py runserver). I'd suggest solving this as a two step process: 1) Determine if the request for the static file is actually hitting the development server or not (eg. if you're running behind a reverse proxy) 2) Fire up your debugger and

Re: CSS not linking with HTML

2021-06-02 Thread Robert Edward
Plus is it 'syle' or 'style' On Wed, Jun 2, 2021, 20:26 Robert Edward wrote: > You are missing a closing (') when loading style.css > > On Fri, May 28, 2021, 21:39 sukhy gill wrote: > >> Dear Frnds >> I am unable to link CSS with HTML >> HTML working but CSS not working inside

Re: use of annotate in django query

2021-06-02 Thread Lalit Suthar
> in brief, I want to transform this query in django query this will be equivalent to this query in django Customer_Requests.objects.values("arrival_date").annotate(num_req=Count("request_name")) On Thu, 3 Jun 2021 at 02:02, Eugene TUYIZERE wrote: > in brief, I want to transform this query in

Re: SVG widget for the Admin

2021-06-02 Thread Mike Dewhirst
DerekI pretty much tried what you suggested. I dont have access to my machine atm so that's all I can really say. I looked at the link and understand the list customisation because I already use it elsewhere. It does look like I'll have to switch in my own template so I can include a safe

Re: use of annotate in django query

2021-06-02 Thread Eugene TUYIZERE
Dear Latit, Thank you very much. Now how can I display 30 last records? Regardless of how many records I may have ! Just the last 30 records! Thank you On Thu, 3 Jun 2021 at 06:51, Lalit Suthar wrote: > > in brief, I want to transform this query in django query > this will be equivalent to

Re: use of annotate in django query

2021-06-02 Thread Eugene TUYIZERE
in brief, I want to transform this query in django query [image: image.png] On Wed, 2 Jun 2021 at 21:56, Eugene TUYIZERE wrote: > Dear Sebatian, > > This is what I get: > > SELECT `crms_customer_requests`.`arrival_date`, > COUNT(`crms_customer_requests`.`request_name`) AS `count` FROM >

Re: use of annotate in django query

2021-06-02 Thread Eugene TUYIZERE
Dear Sebatian, This is what I get: SELECT `crms_customer_requests`.`arrival_date`, COUNT(`crms_customer_requests`.`request_name`) AS `count` FROM `crms_customer_requests` WHERE `crms_customer_requests`.`arrival_date` >= 2021-05-03 GROUP BY `crms_customer_requests`.`arrival_date` ORDER BY NULL

Re: CSS not linking with HTML

2021-06-02 Thread Robert Edward
You are missing a closing (') when loading style.css On Fri, May 28, 2021, 21:39 sukhy gill wrote: > Dear Frnds > I am unable to link CSS with HTML > HTML working but CSS not working inside the .html file with the help of > LINK in tag > > I am using thefollowings:- >

use of annotate in django query

2021-06-02 Thread Eugene TUYIZERE
Dear Team, I need help. I am working on a project where one of the tables is about requests. I want to have a report of the number of requests on each day in the last 30 days, something like this: [image: image.png]I I used the code below just before displaying on the chart but the code gives me

Re: use of annotate in django query

2021-06-02 Thread Sebastian Jung
Hi Eugene, Please make Print(report.query) then you get SQL querys and Most of time i get an Idea what's wrong Regards Eugene TUYIZERE schrieb am Mi., 2. Juni 2021, 21:41: > Dear Team, > > I need help. I am working on a project where one of the tables is about > requests. I want to have a