Re: I need orientation on what to do and how to do it (procedure)

2021-12-16 Thread Vishesh Mangla
https://stackoverflow.com/a/2218134/4213362 On Thu, Dec 16, 2021 at 9:56 PM addani Raghavender < addaniraghaven...@gmail.com> wrote: > No not that much > > On Thu, 16 Dec, 2021, 7:43 am Amor Zamora, wrote: > >> >> Can you help me? >> I need to obtain the country of where the users access from th

Re: Django works with PDF

2022-01-20 Thread Vishesh Mangla
PyPDF2 On Thu, 20 Jan 2022, 19:46 Amor Zamora, wrote: > I have 2 problems working with pdf in django. > 1. I need a tool, function or library that allows me to open a pdf and > read the metadata, to get its 'creator and producer' there, but I have to > do this, not with python, because to show i

Re: Download html pages as pdf using headless Chrome

2022-01-29 Thread Vishesh Mangla
Use requests for that . On Sat, 29 Jan 2022, 21:28 Aadil Rashid, wrote: > Hello Django Family, I came across the problem of downloading HTML pages > as pdf using headless chrome, Can anybody here who could please let me know > how can I do it or any good resource to follow, it would be appreciab

Re: Download html pages as pdf using headless Chrome

2022-01-29 Thread Vishesh Mangla
Get the link and cookies from the webdriver and put that in requests.get using request library to download the html on the page. On Sat, 29 Jan 2022, 21:29 Vishesh Mangla, wrote: > Use requests for that . > > On Sat, 29 Jan 2022, 21:28 Aadil Rashid, wrote: > >> Hello Dja

Re: Download html pages as pdf using headless Chrome

2022-01-29 Thread Vishesh Mangla
nvert it to pdf > > On Sat, Jan 29, 2022 at 9:31 PM Vishesh Mangla > wrote: > >> Get the link and cookies from the webdriver and put that in requests.get >> using request library to download the html on the page. >> >> On Sat, 29 Jan 2022, 21:29 Vishesh Mangla, &g

Re: SMTP Authentification error

2022-04-27 Thread Vishesh Mangla
Use Google api. On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, < django-users@googlegroups.com> wrote: > okay i did both but now i am getting this error. Any clue on why? > > *SMTPSenderRefused at /password-reset/* > > > *(530, b'5.7.0 Authentication Required. Learn more at\n5.7.

Re: SMTP Authentification error

2022-04-27 Thread Vishesh Mangla
On Thu, 28 Apr 2022, 11:02 Vishesh Mangla, wrote: > Use Google api. > > On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, < > django-users@googlegroups.com> wrote: > >> okay i did both but now i am getting this error. Any clue on why? >&g

Re: SMTP Authentification error

2022-04-27 Thread Vishesh Mangla
I meant Gmail api.I was also stuck with Gmail.Also may 31 onwards Gmail will block all third party apps which simply login with email and password. On Thu, 28 Apr 2022, 11:02 Vishesh Mangla, wrote: > > On Thu, 28 Apr 2022, 11:02 Vishesh Mangla, > wrote: > >> Use Google api

Re: Class based views with forms

2022-04-28 Thread Vishesh Mangla
Iommi forms On Thu, 28 Apr 2022, 23:00 Ryan Nowakowski, wrote: > You're right, it's not very clear how to have a single class-based view > handle both displaying details and submitting a form. This is a > fantastic site that shows how each class based view is set up > inheritance-wise: https://

Re: LogIn Class Based View

2022-05-26 Thread Vishesh Mangla
I think it's good, function based views offer you more flexibility. If you are not liking your code it's because your function should be split up into smaller functions, or use a class without it being a view. On Fri, 27 May 2022, 01:07 'dtdave' via Django users, < django-users@googlegroups.com> w

Re: LogIn Class Based View

2022-05-26 Thread Vishesh Mangla
Vishesh Mangla wrote: > I think it's good, function based views offer you more flexibility. If you > are not liking your code it's because your function should be split up into > smaller functions, or use a class without it being a view. > > On Fri, 27 May 2022, 01:07

Re: LogIn Class Based View

2022-05-26 Thread Vishesh Mangla
Sorry, on looking again I realized that CBV already does this. https://ccbv.co.uk/projects/Django/4.0/django.contrib.auth.views/LoginView/ https://openclassrooms.com/en/courses/7107341-intermediate-django/7263527-create-a-login-page-with-class-based-views https://stackoverflow.com/questions/56761

Re: LogIn Class Based View

2022-05-26 Thread Vishesh Mangla
https://ccbv.co.uk/projects/Django/4.0/django.contrib.auth.views/LoginView/ https://openclassrooms.com/en/courses/7107341-intermediate-django/7263527-create-a-login-page-with-class-based-views https://stackoverflow.com/questions/56761409/how-to-make-a-login-view-for-django-custom-user On Fri, May

Re: Invite to join WhatsApp group

2022-08-05 Thread Vishesh Mangla
This group is not for promoting your paid service. It's where volunteers help each other.So stop advertising your classes here. On Sat, 6 Aug, 2022, 02:38 Dylan Reinhold, wrote: > In the past 2 weeks, I have seen this same message sent over 4 times. > > We get it, you have a whatsapp group. > >

Re: How to link different apps into one main app

2023-03-24 Thread Vishesh Mangla
Add your app name in settings.py in INSTALLED_APPS On Fri, 24 Mar, 2023, 18:58 Chandresh . T, wrote: > I'm a new learner of Django, and I want to do a project, In the main app a > form will be given and if the person tells that he belongs to the frontend > or backend developing group he will be

Re: I have a problem with visual studio code

2023-05-02 Thread Vishesh Mangla
Looks like issue is with pillow On Tue, 2 May, 2023, 22:17 Byansi Samuel, wrote: > Which version of python do you use? > > It's because of python. Change the version of your python from anyone you > have been using and install > > Python 3.10, it will work fine and successful > > On Tue, May 2,

Re: I have a problem with visual studio code

2023-05-02 Thread Vishesh Mangla
roject should be delivered > > On Tue, 2 May 2023, 7:55 pm Vishesh Mangla, > wrote: > >> Looks like issue is with pillow >> >> On Tue, 2 May, 2023, 22:17 Byansi Samuel, >> wrote: >> >>> Which version of python do you use? >>> >>> It&

Re: I have a problem with visual studio code

2023-05-02 Thread Vishesh Mangla
Also ask for help on web.libera.chat website.there is a python channel On Tue, 2 May, 2023, 22:29 Vishesh Mangla, wrote: > Oh looks like you are using visual studio python. Dont use that and remove > the python path and download python from official website > > On Tue, 2 May, 2023

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread Vishesh Mangla
It looks like you are passing a null but null=False is not set On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, < django-users@googlegroups.com> wrote: > I'm trying to test a django-admin command and don't understand why the > tests give errors on the code while the code works as expect

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread Vishesh Mangla
False or True check for yourself. On Wed, 10 May, 2023, 17:29 Vishesh Mangla, wrote: > It looks like you are passing a null but null=False is not set > > On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, < > django-users@googlegroups.com> wrote: > >&

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread Vishesh Mangla
nswer but I have no idea what you > mean. > > On Wednesday, May 10, 2023 at 2:00:51 PM UTC+2 Vishesh Mangla wrote: > >> False or True check for yourself. >> >> On Wed, 10 May, 2023, 17:29 Vishesh Mangla, wrote: >> >>> It looks like you are passing a nu

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread Vishesh Mangla
If I understood the error right. On Wed, May 10, 2023 at 5:47 PM Vishesh Mangla wrote: > Probably this would help: > https://stackoverflow.com/questions/8609192/what-is-the-difference-between-null-true-and-blank-true-in-django > > On Wed, May 10, 2023 at 5:45 PM 'Bob Aalsma&

Re: PDF generation with xhtml2Pdf in Django

2023-05-11 Thread Vishesh Mangla
Try weasyprint On Thu, 11 May, 2023, 18:38 Oduwa Imade, wrote: > Hello Guys! I am trying to generate a Pdf doc(reading data from a > database) on Django with xhtml2pdf library. but i encounter this error when > i hit the 'Create PDF' button: > > ValueError at /RecruitmentApp/createcvpdf > with

Re: PDF generation with xhtml2Pdf in Django

2023-05-11 Thread Vishesh Mangla
Abdulrahman Abbas wrote: > >> Send the error details >> >> On Thu, May 11, 2023, 14:41 Michael Edet wrote: >> >>> How??? >>> >>> On Thu, 11 May 2023, 14:25 Vishesh Mangla, wrote: >>> >>>> Try weasyprint >>>> >

Re:

2023-05-11 Thread Vishesh Mangla
Use request module to make a request from django if you meant that otherwise your question is unclear On Fri, 12 May, 2023, 10:21 Karthik V A, wrote: > Hello friends, Is there any inbuilt function in django for API. Without > using REST framework and request. > > -- > You received this message b

Re: django smtp.gmail error

2023-05-17 Thread Vishesh Mangla
Are you logging through Gmail? On Wed, 17 May, 2023, 19:35 Chelsea Fan, wrote: > I deleted all passwords and thhen created new password but nothig was > happen > > On Wed, May 17, 2023 at 6:54 PM Lakshyaraj Dash < > dashlakshyaraj2...@gmail.com> wrote: > >> First verify if the email through whic

Re: django smtp.gmail error

2023-05-17 Thread Vishesh Mangla
You can't use SMTP with Google. You need to use oauth through Google cloud platform. Actually there is one way to use SMTP with Google to login through third party apps. Check out my stories on medium. I had written one for a solution. On Wed, 17 May, 2023, 19:36 Vishesh Mangla, wrote:

Re: django smtp.gmail error

2023-05-17 Thread Vishesh Mangla
https://medium.com/@manglavishesh64/using-gmail-smtp-with-3rd-party-apps-be3e15f4a7fc On Wed, 17 May, 2023, 19:50 Chelsea Fan, wrote: > how can I find your medium stories? > > On Wed, May 17, 2023 at 7:09 PM Vishesh Mangla > wrote: > >> You can't use SMTP with Google

Re: upload folder

2023-05-19 Thread Vishesh Mangla
https://api.video/blog/tutorials/uploading-large-files-with-javascript/ On Fri, 19 May, 2023, 18:29 Karuppasamy T, wrote: > how to upload folder and sub directory and including sub files maximum > 5gb please help me . > > -- > You received this message because you are subscribed to the Google Gr

Re: Tokenized Authentication for subdomains

2023-05-24 Thread Vishesh Mangla
use nginx as reverse proxy On Thu, 25 May, 2023, 07:35 André Lewis, wrote: > Hi, > > I'm currently working on a project with subdomains, and I wanted to > authenticate the user across the site, regardless of the url. I did some > digging and found some ideas for implementing Oauth/openID connect

Re: Tokenized Authentication for subdomains

2023-05-26 Thread Vishesh Mangla
https://stackoverflow.com/a/62782197/4213362 On Thu, May 25, 2023 at 7:35 AM André Lewis wrote: > Hi, > > I'm currently working on a project with subdomains, and I wanted to > authenticate the user across the site, regardless of the url. I did some > digging and found some ideas for implementing

Re: JOB | Lead Platform Engineer (Singapore/London)

2023-05-26 Thread Vishesh Mangla
Please be careful whilst looking at the random jobs in this group. Afaik, these are unverified. If they require you to relocate then think 10 times before taking any action. On Sat, May 27, 2023 at 1:32 AM Sakshi wrote: > Hi I have around 3 years of experience with python.can you consider my > p

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Vishesh Mangla
Ya, who ll open up Linux for him 😑 On Mon, 5 Jun, 2023, 22:43 Lakshyaraj Dash, wrote: > Bro please send in pdf format so that it will be possible to open in mobile > > On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: > >> Hi django developer group. >> >> I'm from india. I got one django assignmen

Re: Slow Performance of Django Web App

2023-06-11 Thread Vishesh Mangla
Lmao On Mon, 12 Jun, 2023, 10:54 Kunal Mittal, wrote: > I have read various docs on performance optimization, but still not > getting what's taking to render templates and what's the bottleneck when > cache get cleared, I takes around 12 hours for application to run smoothly > after that event.

Re: Slow Performance of Django Web App

2023-06-11 Thread Vishesh Mangla
Try cdn, and use Statics based on screen size On Mon, 12 Jun, 2023, 11:14 Vishesh Mangla, wrote: > Lmao > > On Mon, 12 Jun, 2023, 10:54 Kunal Mittal, wrote: > >> I have read various docs on performance optimization, but still not >> getting what's taking to re

Re: Translating a Django website

2023-06-12 Thread Vishesh Mangla
Why don't you use Google translate api? On Mon, 12 Jun, 2023, 14:36 אורי, wrote: > Hi, > > I have a website in English and Hebrew which I want to translate into > French. The website has about 3 or 4 .po files in each language, which > should be translated. But the translators I talked to want t

Re: Slow Performance of Django Web App

2023-06-13 Thread Vishesh Mangla
Try profiling your django code On Tue, 13 Jun, 2023, 23:19 Nisha Jose, wrote: > Try to check any N+1 issue available in the code. > > > On Mon, Jun 12, 2023 at 9:46 AM Vishesh Mangla > wrote: > >> Try cdn, and use Statics based on screen size >> >> On Mon

Re: Slow Performance of Django Web App

2023-06-13 Thread Vishesh Mangla
https://medium.com/kami-people/profiling-in-django-9f4d403a394f On Tue, Jun 13, 2023 at 11:44 PM Vishesh Mangla wrote: > Try profiling your django code > > On Tue, 13 Jun, 2023, 23:19 Nisha Jose, wrote: > >> Try to check any N+1 issue available in the code. >> >>

Re: Slow Performance of Django Web App

2023-06-13 Thread Vishesh Mangla
One important question, what webserver are you using? On Wed, Jun 14, 2023 at 10:34 AM Shaheed Haque wrote: > Have you tried using > https://django-debug-toolbar.readthedocs.io/en/latest/? It can be a > little fiddling about with, but it's time based profiling support has been > invaluable in tr

Re: Guidepath to learn django

2023-06-27 Thread Vishesh Mangla
There is a course by Corey Schauffer through which I started and rest the libera #django channel helped. On Tue, 27 Jun, 2023, 17:35 lewis machilika, wrote: > > Did you already tried the Django official documentation? > > Regards, > Lewis > On Tue, 27 Jun 2023 at 2:02 PM, Dilmurod Dilmurod < > d

Re:

2023-07-18 Thread Vishesh Mangla
No degree teaches django or even web development. On Tue, Jul 18, 2023 at 8:50 PM Asim Sulehria wrote: > Do you have a bachelor's degree in relevant field like Computer Science?/ > Software Engineering?/ Data Science? > > On Tue, Jul 18, 2023 at 8:16 PM utibe solomon > wrote: > >> My number is

Re:

2023-07-18 Thread Vishesh Mangla
Degree is not sufficient. Memorizing 250 DSA questions is also a requirement. On Tue, 18 Jul, 2023, 21:18 Asim Sulehria, wrote: > For getting a Job into industry you need a proper degree ! > Do you have it or not? > > On Tue, Jul 18, 2023 at 8:36 PM Vishesh Mangla > wrote:

Re:

2023-07-18 Thread Vishesh Mangla
Whats the CTC you are offering? On Tue, 18 Jul, 2023, 21:38 Asim Sulehria, wrote: > Do you have it or not ? > We are just hiring Django developers as fresh graduates ! > > > On Tue, Jul 18, 2023 at 8:50 PM Vishesh Mangla > wrote: > >> Degree is not sufficient. Memo

Re: Re:

2023-07-19 Thread Vishesh Mangla
e julho de 2023 13:48 >> *Para:* django-users@googlegroups.com >> *Assunto:* Re: >> >> Hey I'm a fresh graduate from BS IT. And I'm a MERN Stack developer >> learning Django for the web. What do u think? >> >> On Tue, Jul 18, 2023, 9:08 PM Asim Sulehria

Re: Internship and job in python and Django related

2023-07-21 Thread Vishesh Mangla
You can use fixtures to store json data to your db but it should be in a specific format based on your model. On Fri, 21 Jul, 2023, 22:44 Emmanuel Seth, wrote: > Svp parlez en français 🙏🙏🙏 > > > Le ven. 21 juil. 2023 à 15:14, Opeyemi Ajayi < > opeyemichristiana.aj...@gmail.com> a écrit : > >> I

RE: How to resize image from Django ckeditor_uploader in the HTML template while rendering?

2020-05-18 Thread Vishesh Mangla
You can resize an image using the Pillow library or open-cv. Sent from Mail for Windows 10 From: Ali AhammadSent: 17 May 2020 22:45To: Django usersSubject: How to resize image from Django ckeditor_uploader in the HTML template while rendering? I am using Django ckeditor_uploader to make a post view

RE: Re: how to write Ajax for a Like button in Django

2020-05-18 Thread Vishesh Mangla
Why don’t you use fetch api? Its simple. Once you get the response from the server, you can use InsertAdjacentHtml.  Sent from Mail for Windows 10 From: Motaz HejazeSent: 18 May 2020 07:34To: Django usersSubject: Re: how to write Ajax for a Like button in Django The button is submitted but without

RE: Re: How to resize image from Django ckeditor_uploader in the HTML template while rendering?

2020-05-18 Thread Vishesh Mangla
text can be separated and truncatchar:400 or 500 which i kew already. but i would like to separate the image from the text of the body. i hope you understand my problemOn Monday, May 18, 2020 at 12:49:53 PM UTC+1, Vishesh Mangla wrote:You can resize an image using the Pillow library or open-cv. S

RE: Re: required help to save SECRET_KEY and Third party Private API key

2020-05-19 Thread Vishesh Mangla
Why don’t you use the decouple module? Use it and add it to your gitignore.  Sent from Mail for Windows 10 From: Anirudh choudharySent: 19 May 2020 13:14To: django-users@googlegroups.comSubject: Re: required help to save SECRET_KEY and Third party Private API key thanks for your answer  after your

RE: How to pass a variable to views from a template using href ?

2020-05-19 Thread Vishesh Mangla
In your views.py check “dir” on request.GET object to see what you have got.  Sent from Mail for Windows 10 From: ratnadeep raySent: 19 May 2020 18:44To: Django usersSubject: How to pass a variable to views from a template using href ? Hi all,  My requirement is to pass a variable to the view from

RE: NEW TO DJANGO

2020-05-19 Thread Vishesh Mangla
Your question is not clear to me. What exactly do you want ?You do not require django to go to a site , rather you require a hyperlink.  Sent from Mail for Windows 10 From: Madhav NandanSent: 19 May 2020 20:34To: django-users@googlegroups.comSubject: NEW TO DJANGO Dear Django fellas, I'm new to Dja

RE: Re: how to use youtube links in my website

2020-05-20 Thread Vishesh Mangla
 Why just you not use the html5 video tag?Sent from Mail for Windows 10 From: Christian LedermannSent: 20 May 2020 15:16To: django-users@googlegroups.comSubject: Re: how to use youtube links in my website I would retrieve the RSS from YouTube, and process it server side with feedparser and render i

RE: Add search to my blog app

2020-05-20 Thread Vishesh Mangla
Hi if you want a search bar you need _javascript_ which will do the dynamic stuff. Add an event listener to you of html and use “change” as the event. Then you need to insert and remove elements on the DOM based on the text in the search box. For more info ask on  https://webchat.freenode.net/ in

RE: Re: NEW TO DJANGO

2020-05-20 Thread Vishesh Mangla
Haven’t you used the redirect() function in Django? Sent from Mail for Windows 10 From: Madhav NandanSent: 20 May 2020 22:19To: Django usersSubject: Re: NEW TO DJANGO I need to know what I should do so that once I click a hyperlink, it will redirect me to a payment page and I need to make a working

RE: Re: NEW TO DJANGO

2020-05-20 Thread Vishesh Mangla
  Sent from Mail for Windows 10 From: Madhav NandanSent: 20 May 2020 22:19To: Django usersSubject: Re: NEW TO DJANGO I need to know what I should do so that once I click a hyperlink, it will redirect me to a payment page and I need to make a working payment option like paypal integration or razorpa

RE: Re: Add search to my blog app

2020-05-20 Thread Vishesh Mangla
don't know _javascript_ On Wed, May 20, 2020, 5:25 PM Vishesh Mangla <manglavishes...@gmail.com> wrote:Hi if you want a search bar you need _javascript_ which will do the dynamic stuff. Add an event listener to you of html and use “change” as the event. Then you need to insert and remo

RE: Add search to my blog app

2020-05-20 Thread Vishesh Mangla
_javascript_ it that needs to be done dynamically otherwise redirect() Sent from Mail for Windows 10 From: Ali AhammadSent: 20 May 2020 22:32To: Django usersSubject: Add search to my blog app At first you should make search search template where you should put what and how you want display Then you

RE: Add search to my blog app

2020-05-20 Thread Vishesh Mangla
Or one thing you can do w/o _javascript_, that is send a post request to the server through a form and then redirect to a view with a blog matching that search query.  Template: {{csrf_token}} //see the correct template tagSubmit Views:def index(request):    if request.method ==”POST”:    searc

RE: How to invoke Sub Form which have MULTIPLE OPTIONS to choose inside Django Form.

2020-05-20 Thread Vishesh Mangla
#template   


RE: Django Uploaded images not displayed in production

2020-06-21 Thread Vishesh Mangla
If the issue is managing static files on the server simply installing Django-heroku saved me from all that trouble. Sent from Mail for Windows 10 From: Rob RiedlingerSent: 21 June 2020 23:40To: Django usersSubject: Re: Django Uploaded images not displayed in production Check out this video  https:/

Re: How to get names of columns from QuerySet without executing it

2020-07-04 Thread Vishesh Mangla
I think learning some sql commands would be good. Lots of youtube tuts available online. https://docs.djangoproject.com/en/3.0/topics/db/sql/#executing-custom-sql-directly On Sun, Jul 5, 2020 at 1:59 AM Akinfolarin Stephen < akinfolarinsteph...@gmail.com> wrote: > you can filter out the column yo

RE: How to get data from django model to the excel sheet.

2020-07-06 Thread Vishesh Mangla
@Ashutosh Mishra I think reading your sql table with pandas and using to_excel/to_csv would be great in this case. If you are worried about the images. First of all I don’t know how you are storing your images. One method to store an image is to convert it to a very long base64 string and store it

RE: How to get data from django model to the excel sheet.

2020-07-06 Thread Vishesh Mangla
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_sql.html Sent from Mail for Windows 10 From: Ashutosh MishraSent: 06 July 2020 13:56To: django-users@googlegroups.comSubject: Re: How to get data from django model to the excel sheet. But It is for js,react,angular, how can I pl

RE: Static not working on unix while working on windows

2020-07-06 Thread Vishesh Mangla
Href = "" static appname/something.css %}” Sent from Mail for Windows 10 From: ashish goyalSent: 06 July 2020 23:50To: django-users@googlegroups.comSubject: Static not working on unix while working on windows Hi All, I have created a django app on windows and have used bootstrap navbar n other func

RE: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread Vishesh Mangla
Api’s are better suited for Django rest framework. Sent from Mail for Windows 10 From: Ashutosh MishraSent: 10 July 2020 18:30To: Django usersSubject: Re: How to get data from django model to excel sheet using openpyxl including images. i have created an api through which i can download the excel f

RE:

2020-08-14 Thread Vishesh Mangla
https://www.youtube.com/watch?v=UmljXZIypDc Follow this good tutorial. Sent from Mail for Windows 10 From: Suraj KumarSent: 14 August 2020 19:31To: django-users@googlegroups.comSubject:  Hi guys, I am to new django. I am making blog website project. During the making blog website I am stuck one poi

RE: HTML Snippets instead of JSON-API

2020-08-28 Thread Vishesh Mangla
You can use Django and react with the help of webpack. Sent from Mail for Windows 10 From: guettliSent: 28 August 2020 14:02To: Django usersSubject: HTML Snippets instead of JSON-API If you read the current articles about software development,you get the impression that you must createa backend API

RE: material

2020-08-28 Thread Vishesh Mangla
https://www.youtube.com/watch?v=UmljXZIypDc Sent from Mail for Windows 10 From: sakshi jainSent: 28 August 2020 21:04To: django-users@googlegroups.comSubject: Re: material youtube vedios online On Fri, Aug 28, 2020, 19:23 السعيد حاجي سعيد wrote:Hello and good morning,

RE: Data Science Guide

2020-08-28 Thread Vishesh Mangla
https://www.youtube.com/watch?v=yzIMircGU5I&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y Sent from Mail for Windows 10 From: Emmanuel Oppong NtiamoahSent: 28 August 2020 21:05To: django-users@googlegroups.comSubject: Data Science Guide Hello friends i have learnt Python for a while now and i want to sta

Exception Type: SuspiciousOperation

2020-12-31 Thread Vishesh Mangla
Hi, I am facing this error and 'm stuck on it from quite a lot of time. The error logs: https://dpaste.com/AVG628T9N My code: https://dpaste.org/dSMc I have used : https://pypi.org/project/django-postgres-extra/ Any help is appreciated, Thanks -- You received this message because you are subsc

Re: Exception Type: SuspiciousOperation

2020-12-31 Thread Vishesh Mangla
I deleted the db and ran the migrations again. the actual error is this. https://dpaste.org/7vb3 On Friday, January 1, 2021 at 1:58:17 AM UTC+5:30 Vishesh Mangla wrote: > Hi, I am facing this error and 'm stuck on it from quite a lot of time. > The error logs: https://dpaste.co

Re: Exception Type: SuspiciousOperation

2021-01-01 Thread Vishesh Mangla
The error was related to data. The key wasn't in the data. On Fri, Jan 1, 2021 at 2:07 AM Vishesh Mangla wrote: > I deleted the db and ran the migrations again. > the actual error is this. https://dpaste.org/7vb3 > > On Friday, January 1, 2021 at 1:58:17 AM UTC+5:30 Vis

UserManager creation for AbstractUserModel extended MyUser

2021-01-09 Thread Vishesh Mangla
https://dpaste.org/Zz5Z (venv) PS C:\Users\Dell\OneDrive\Desktop\djangodev\mass> python manage.py createsuperuser PAN ID: 6785 Email: s@g Error: Enter a valid email address. Email: s...@gmail.com Name: fjghg Type: fg Error: Value 'fg' is not a valid choice. Type: ADM Holding: 568 Password: Pass

Re: UserManager creation for AbstractUserModel extended MyUser

2021-01-09 Thread Vishesh Mangla
hanks in advance. On Saturday, January 9, 2021 at 6:35:34 PM UTC+5:30 Vishesh Mangla wrote: > https://dpaste.org/Zz5Z > > > (venv) PS C:\Users\Dell\OneDrive\Desktop\djangodev\mass> python manage.py > createsuperuser > PAN ID: 6785 > Email: s@g > Error: Enter a

Re: UserManager creation for AbstractUserModel extended MyUser

2021-01-09 Thread Vishesh Mangla
y, January 9, 2021 at 6:38:56 PM UTC+5:30 Vishesh Mangla wrote: > Hi, please help me create this UserManager child class. I 'm stuck up on > this. I also need to divide my users into three groups. > For this I extended the migrations file. https://dpaste.org/9VSd. But > runnin

Re: UserManager creation for AbstractUserModel extended MyUser

2021-01-09 Thread Vishesh Mangla
in the dpaste s. On Saturday, January 9, 2021 at 7:11:23 PM UTC+5:30 Amitesh Sahay wrote: > Could you please paste your models.py > > Sent from Yahoo Mail on Android > <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers

Re: UserManager creation for AbstractUserModel extended MyUser

2021-01-09 Thread Vishesh Mangla
AccountManager() > > USERNAME_FIELD = 'email' > REQUIRED_FIELDS = ['shop_name', 'contact', 'is_staff'] > > def __str__(self): > return str(self.shop_name) > > > See if that helps you out.

  1   2   >