Re: Django Uploaded images not displayed in production

2020-06-22 Thread MUGOYA DIHFAHSIH
thanks Anton, i will also give nginx a try but currently the client has a domain with namecheap with shared host plan and that is where he wants me to deploy the application but name cheap has apache web server On Sun, 21 Jun 2020 at 22:10, Anton Nyagolov wrote: > So guys I have found the probl

Project Collaboration Team

2020-06-22 Thread Shubhanshu Arya
Hello Everyone, I want to make a team in which we will make some very good level projects together. These projects will be very helpful in our interview as well. Must have prior knowledge about Django/Python. We will do daily meetings and discuss our project and we will use Github to team colla

Re: Proxy User and AUTH_USER_MODEL: TypeError: MyUser cannot proxy the swapped model 'myapp.MyUser'.

2020-06-22 Thread Eugene Kulak
It is not clear why it is not possible and what is the rationale behind this limitation? I see a lot of questions about this error. Perhaps a nice receipt what to do instead could help. For my understanding using the Proxy model as Custom User Model is most natural way to override some User's m

Re: Search returned after deployment to Heroku

2020-06-22 Thread Kasper Laudrup
Hi Sunday, On 22/06/2020 23.35, sunday honesty wrote: My search functionnlaity worked fine and is even working well now on my local host but always returns error when I run it on heroku. (Server error) How has any idea pls Look at the logs on the server to figure out the actual cause of the

Search returned after deployment to Heroku

2020-06-22 Thread sunday honesty
My search functionnlaity worked fine and is even working well now on my local host but always returns error when I run it on heroku. (Server error) How has any idea pls -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: FileNotFoundError at /urlpath, after hosting Django project to Heroku

2020-06-22 Thread jakote lejaha
Thank you very much. Everything worked after specifying the path to the pdflatex. Virus-free. www.avast.com

Dynamically Create Folders For User From A Django App Hosted on Heroku.

2020-06-22 Thread lejaha...@gmail.com
I am currently trying to generate reports for all the users to my application, and since a user can decide to generate one/more report(s). I have managed to create a new folder for a user inside the root directory every time they generate the report(s). The app works perfectly fine on my local

How to add domain from GoDaddy to Heroku

2020-06-22 Thread sunday honesty
Has anyone here added a custom domain from GoDaddy to Heroku? I have not been able to configure my DNS correctly after following tons of articles online... GoDaddy don't seem to have good customer care for my country and no live support available? The issue is, I have bought the domain and adde

Re: Which is a better

2020-06-22 Thread osman gone
Class is best for model. On Tue, Jun 23, 2020, 12:10 AM Fredrick Edward wrote: > Views and models created using functions or classes? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving ema

Re: I'm new to this django help me out

2020-06-22 Thread sree lekha
How to send live output that we got on our screen ... It should display the same if they open that in phone or anything...how can we do that? On Fri, May 15, 2020, 21:48 Sunday Iyanu Ajayi wrote: > You can host the project on a server and share the url > > Or can you enlighten me on what you me

Re: how to fetch data into a template (table)

2020-06-22 Thread Larry Martell
On Sat, Jun 20, 2020 at 11:41 AM Faith Mwai wrote: > > Am having a challenge of displaying data into my template table, the function > is; > > def customers(request): > if request.method == 'POST': > accountno = request.POST['accountno'] > id= request.POST['id'] > Mobi

Re: how to fetch data into a template (table)

2020-06-22 Thread Kasper Laudrup
Hi Faith, On 20/06/2020 12.27, Faith Mwai wrote: Am having a challenge of displaying data into my template table, the function is; def customers(request): if request.method =='POST': accountno= request.POST['accountno'] id= request.POST['id'] Mobilenumber = requ

Re: Error Deployment

2020-06-22 Thread Kasper Laudrup
Hi Giovanni, On 22/06/2020 20.21, Giovanni Silva wrote: Hi everybody. I have an VPS and I'm trying to configure it to deploy some djangos app. I'm follow this tutorial, but I had an error https://www.techsupportpk.com/2019/08/how-to-set-up-django-with-postgres-nginx-gunicorn-ubuntu-1904.html

Error Deployment

2020-06-22 Thread Giovanni Silva
Hi everybody. I have an VPS and I'm trying to configure it to deploy some djangos app. I'm follow this tutorial, but I had an error https://www.techsupportpk.com/2019/08/how-to-set-up-django-with-postgres-nginx-gunicorn-ubuntu-1904.html gmrsbh@vmi404911:~/testprojectdir$ sudo systemctl status

Re: Which is a better

2020-06-22 Thread mohamed khaled
if you want to learn and see what happens use function based view but you need to write a lot compared with class based view it's simple and easy. someimes you can work with both after creating a lot of projects you will know when you will use class or function depends how are they easy. it's be

Which is a better

2020-06-22 Thread Fredrick Edward
Views and models created using functions or classes? -- 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 disc

Re: Manage.py not working

2020-06-22 Thread Puneet Makhija
Hello piyush sir Please reply sir please reply my question On Mon, Jun 22, 2020, 10:39 PM Piyush Jangid wrote: > Try to change the directory of your app i.e try "cd C:// > ../texts1/text1 whatever where your namage.py is and then run command. > Thank you > Piyush jangid > > On Sat, 20 Jun 20

Re: Manage.py not working

2020-06-22 Thread Piyush Jangid
Try to change the directory of your app i.e try "cd C:// ../texts1/text1 whatever where your namage.py is and then run command. Thank you Piyush jangid On Sat, 20 Jun 2020, 9:11 pm Tanisha Jain, wrote: > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > u

Re: how to fetch data into a template (table)

2020-06-22 Thread Faith Mwai
Yes in an HTML template On Saturday, June 20, 2020 at 6:41:57 PM UTC+3, Faith Mwai wrote: > > Am having a challenge of displaying data into my template table, the > function is; > > def customers(request): > if request.method == 'POST': > accountno = request.POST['accountno'] >

Re: how to fetch data into a template (table)

2020-06-22 Thread Jatin Agrawal
Where do you want to display the data? in HTML template? On Saturday, June 20, 2020 at 9:11:57 PM UTC+5:30, Faith Mwai wrote: > > Am having a challenge of displaying data into my template table, the > function is; > > def customers(request): > if request.method == 'POST': > accountno

Re: Retrieve Data in DataBaeses

2020-06-22 Thread Jatin Agrawal
First, you need to understand the basics of Django. Follow this tutorial to get the basics, make sure you watch every video and practice what's taught in it. link: https://www.codingforentrepreneurs.com/projects/try-django-111 On Sunday, June 21, 2020 at 12:43:04 AM UTC+5:30, waqar khan wrote:

Re: help

2020-06-22 Thread Jatin Agrawal
Are you using postgres? On Monday, June 22, 2020 at 8:34:55 PM UTC+5:30, Peter Kirieny wrote: > > can someone help with this please > > django.db.utils.OperationalError: FATAL: password authentication failed > for user "Admin" > -- You received this message because you are subscribed to the Go

Error while using manage.py

2020-06-22 Thread fordaX
Make sure you have sqlite installed on your Windows machine. You can install it from the link below: https://www.sqlite.org/download.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

Re: Error while using manage.py

2020-06-22 Thread misraX x
Make sure you have sqlite installed on your Windows machine. You can install it from the link below: https://www.sqlite.org/download.html On Mon, Jun 22, 2020 at 5:11 PM Franz Ulenaers wrote: > please install sqlite3 > > Op maandag 22 juni 2020 16:17:54 UTC+2 schreef NAVEEN RS: > >> [image: Scr

Re: Error while using manage.py

2020-06-22 Thread Franz Ulenaers
please install sqlite3 Op maandag 22 juni 2020 16:17:54 UTC+2 schreef NAVEEN RS: > > [image: Screenshot (48).png] > > I am using conda virtual enviroment to use django for my project . I am > learning django from telusko youtube channel . First time while using > python manage.py runserver , pyt

help

2020-06-22 Thread Peter Kirieny
can someone help with this please django.db.utils.OperationalError: FATAL: password authentication failed for user "Admin" -- 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 a

Reg:Request to join Django project

2020-06-22 Thread Divakar Upadhyay
Hello, I am a .Net mvc developer.I have work experience of more than 5 years in IT.But I want to join any project whose development is going on Django. So please anyone who wants a partner please let me know. I am a freshman in Django. Find my contact details below: mobile number: 9372129286 SkypeI

Re: Collaborators

2020-06-22 Thread Budi Hermansyah
Hi John, This request is still available ? May I join with the team? Regards, Herman On Mon, 22 Jun 2020 at 19.23 Puneet Makhija wrote: > Hello please guide me please I request > Actually I completed a project of django 95 percent > By using abstract user > Class User(absrract user) > Class wo

Module recommendation for social authentication

2020-06-22 Thread Stats Student
Hi, I am trying to decide between python-social-auth and django-allauth - any insight would be appreciated. Or if there is a better alternative module for integrating Django with Google, Facebook and LinkedIn authentication, I'd love to know. Thanks in advance. -- You received this message becaus

Re: configure nginx

2020-06-22 Thread Jonathan Spicer
>From the error message it appears something is already listening on port 80. Do you apache installed? Or do you have python running as a web server? If something is already using the same port number the service can't start. Kind regards Johnny On Sun, 21 Jun 2020 at 05:21, Giovanni Silva wro

Re: configure nginx

2020-06-22 Thread 'Peter van der Does' via Django users
There's already a process running listening on 0.0.0.0:80 On 6/21/20 12:21 AM, Giovanni Silva wrote: > I have an Error: > > nginx.service - A high performance web server and a reverse proxy server >      Loaded: loaded (/lib/systemd/system/nginx.service; enabled; > vendor prese

Re: Collaborators

2020-06-22 Thread Puneet Makhija
Hello please guide me please I request Actually I completed a project of django 95 percent By using abstract user Class User(absrract user) Class worker(User) Through this architecture And my clients suddenly wants role based setup They said when I am an admin I will be able to create multiple sub