Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-12 Thread Azharul Islam Somon
I have successfully run on my local matching. I start installing with "pip install django-helpdesk " and followed rest of the step and from https://django-helpdesk.readthedocs.io/en/0.2.x/install.html but there is one error for " step 5 : Inside your MEDIA_ROOT folder, inside the helpdesk folder,

Re: Migrating a code written in flask framework to django.

2021-03-12 Thread GEETHANJALI S P
Hi.. https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/Python This is the link of flask codeI wanted to change this to django..How to do that..? On Sat, 13 Mar, 2021, 1:38 AM Kasper Laudrup, wrote: > On 12/03/2021 19.50, GEETHANJALI S P wrote: > > Suppose a program is wri

Re: NameError: name 'SignUpForm' is not defined

2021-03-12 Thread Desh Deepak
Enter after line 6 write this: from .forms import SignUpForm On Sat, 13 Mar 2021, 9:26 am Desh Deepak, wrote: > Need to import form > > > Ex. From appname import formname > > On Sat, 13 Mar 2021, 4:10 am Noyon Barman, > wrote: > >> I can't fix it, anyone please suggest to me >> >> -- >> You re

Re: NameError: name 'SignUpForm' is not defined

2021-03-12 Thread Desh Deepak
Need to import form Ex. From appname import formname On Sat, 13 Mar 2021, 4:10 am Noyon Barman, wrote: > I can't fix it, anyone please suggest to me > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and s

Re: I cant figure out this error

2021-03-12 Thread Kasper Laudrup
https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd -- 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...@google

Re: NameError at /account/signup/

2021-03-12 Thread Fiifi Pius
It's like you are not importing your sign up form On Fri, Mar 12, 2021, 10:42 PM Noyon Barman wrote: > I can't fix it, anyone please suggest to me. > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

Re: NameError at /account/signup/

2021-03-12 Thread Eduardo Agreda López
Do you have create the SingUpForm. If you use Django auth model, can you create the forms.py file and import this path: from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User inside of the forms.py file create the SingUpForm class and extends of the

Re: Chat Application in Django

2021-03-12 Thread Eduardo Agreda López
Create your chat application with django-channels module El viernes, 12 de marzo de 2021 a las 16:40:59 UTC-6, ronl...@gmail.com escribió: > I just like how the thread ended > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fro

Re: Chat Application in Django

2021-03-12 Thread Ronnie Atuhaire
I just like how the thread ended -- 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 view this discussion on the web vi

Re: First DRF project.

2021-03-12 Thread ajaykumar...@gmail.com
Thanks KeLLs for replay, I have already running website but right now it is developed in Wordpress. Ok can you please tell me how where you hosted hits front-end and back-end ? My Website URL: gotoanysite.com -Ajay Kumar On Thursday, March 11, 2021 at 4:17:40 PM UTC+5:30 kells...@gmail.com wro

I cant figure out this error

2021-03-12 Thread Denis Prosser
nvironment: Request Method: GET Request URL: http://127.0.0.1:8000/polls/ Django Version: 3.1.7 Python Version: 3.9.0 Installed Applications: ['polls.apps.PollsConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.m

Re: Migrating a code written in flask framework to django.

2021-03-12 Thread Kasper Laudrup
On 12/03/2021 19.50, GEETHANJALI S P wrote: > Suppose a program is written in flask framework how can we convert it > into django? That depends so much on the program that there's no way to answer that. Flask basically just makes it easy to handle HTTP requests in Python. While Django does that,

Re: Why does my django form with recaptcha send data even empty the recaptcha?

2021-03-12 Thread Chetan Ganji
Remove below line and try again self.fields['captcha'].widget.attrs['required'] = 'True' If the problem persists, try some js or jquery validation in frontend On Thu, Mar 11, 2021, 9:19 PM Gabriel Araya Garcia < gabrielaraya2...@gmail.com> wrote: > Camarada Sokov: > Your code is very diffi

Re: Migrating a code written in flask framework to django.

2021-03-12 Thread Ernest Thuku
I don't think there is a proper way to convert flak to Django but if you know how python well you can rewrite from flask to Django its not that difficult. This will happen if atleast you know how to work with Django. On Fri, 12 Mar 2021 21:50 GEETHANJALI S P, wrote: > Hi all, > Suppose a program

Re: Migrating a code written in flask framework to django.

2021-03-12 Thread cosmos multi
I don't know of any tool that allows you to do a technology migration automatically, you have to change the code slowly yourself. El vie, 12 mar 2021 a las 13:50, GEETHANJALI S P (< geethanjalisp1...@gmail.com>) escribió: > Hi all, > Suppose a program is written in flask framework how can we conv

Migrating a code written in flask framework to django.

2021-03-12 Thread GEETHANJALI S P
Hi all, Suppose a program is written in flask framework how can we convert it into django? Thanks in advance. -- 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 dja

Re: Add user email verification to custom user model

2021-03-12 Thread Manuel Buri
Thank you very much for your help. I made it work! Please let me know if I need to explain it to someone else. Best wishes, Manuel Manuel Buri T: +41 79 933 01 11 M: manuel.b...@gmail.com W: www.manuelburi.com On Tue, 9 Mar 2021 at 17:54, Kasper Lau