I am getting error while i am running console ofpythonanywhere.com django.db.utils.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
On Thu, Aug 26, 2021 at 6:31 PM <[email protected]> wrote: > [email protected] > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/django-users/topics> > Google > Groups > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > Today's topic summary > View all topics > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/django-users/topics> > > - Multiple websites but one authentication system > <#m_3690000047550022064_group_thread_0> - 7 Updates > - UML to Django models <#m_3690000047550022064_group_thread_1> - 2 > Updates > - FILE UPLOAD IN Nested Serializer > <#m_3690000047550022064_group_thread_2> - 1 Update > - Deploying django in plesk <#m_3690000047550022064_group_thread_3> - 4 > Updates > - help with django installation <#m_3690000047550022064_group_thread_4> > - 1 Update > > Multiple websites but one authentication system > <http://groups.google.com/group/django-users/t/de05d570ac906f96?utm_source=digest&utm_medium=email> > Isaac <[email protected]>: Aug 26 01:18AM -0700 > > Am working on a company website and there will be having more websites as > time goes on, they don't want to be creating authentication system in each > of their website. To avoid stress in creating ...more > <http://groups.google.com/group/django-users/msg/2cb20547ba887?utm_source=digest&utm_medium=email> > Eugene TUYIZERE <[email protected]>: Aug 26 10:22AM +0200 > > My suggestion is that you can create a single entry where after login the > system redirects users to the home page containing all these domains as > icons and then the user selects the one he wants. > ...more > <http://groups.google.com/group/django-users/msg/2cbc48650db9c?utm_source=digest&utm_medium=email> > Isaac <[email protected]>: Aug 26 01:46AM -0700 > > Am trying to understand what you said sir but am still confuse, how will > the domain2.com recognize that this person is a user ? Also how will the > database schema look like ? Will the two database ...more > <http://groups.google.com/group/django-users/msg/2cca968106bee?utm_source=digest&utm_medium=email> > Steven Mapes <[email protected]>: Aug 26 02:15AM -0700 > > You could use oauth between the projects. Look > into https://django-oauth-toolkit.readthedocs.io/en/latest/ which would > enable you to set up domain one as your authentication backend which the > ...more > <http://groups.google.com/group/django-users/msg/2ce40d5cc0ff0?utm_source=digest&utm_medium=email> > Christian Ledermann <[email protected]>: Aug 26 11:01AM +0100 > > I did this in the past by setting up > https://github.com/jazzband/django-oauth-toolkit as an authentication > server at login.my-domain.com and then connecting the other websites with > ...more > <http://groups.google.com/group/django-users/msg/2d0d67187fc05?utm_source=digest&utm_medium=email> > Isaac Imafidon <[email protected]>: Aug 26 11:53AM +0100 > > Thanks everyone that contributed, you guys have really shown me much love. > Am so grateful . Much appreciated. 🙏🙏 > ...more > <http://groups.google.com/group/django-users/msg/2d3a7f795cc09?utm_source=digest&utm_medium=email> > Isaac Imafidon <[email protected]>: Aug 26 11:54AM +0100 > > Thanks specially sir > > < > https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon > > > Virus-free. > www.avast.com ...more > <http://groups.google.com/group/django-users/msg/2d3b4f2f42ba3?utm_source=digest&utm_medium=email> > Back to top <#m_3690000047550022064_digest_top> > UML to Django models > <http://groups.google.com/group/django-users/t/34dfc772cac2e8f9?utm_source=digest&utm_medium=email> > DJANGO DEVELOPER <[email protected]>: Aug 25 09:32PM -0700 > > Currently, I am working on an inventory management system and I have got > some UML diagrams and want to convert those uml diagrams into django > models. So can anyone guide me on how to convert those ...more > <http://groups.google.com/group/django-users/msg/2bed10d5fbb94?utm_source=digest&utm_medium=email> > DJANGO DEVELOPER <[email protected]>: Aug 26 01:27PM +0500 > > can anyone help me? > > On Thu, Aug 26, 2021 at 9:32 AM DJANGO DEVELOPER <[email protected]> > wrote: > > ...more > <http://groups.google.com/group/django-users/msg/2cbb0eaa5c8c2?utm_source=digest&utm_medium=email> > Back to top <#m_3690000047550022064_digest_top> > FILE UPLOAD IN Nested Serializer > <http://groups.google.com/group/django-users/t/752c58150a77fddf?utm_source=digest&utm_medium=email> > "[email protected]" <[email protected]>: Aug 25 10:58PM > -0700 > > I have a plain text field in Parent Table and should upload a file in > child > table and has a foreign key relation in both table. I cannot upload a file > in nested serializer. I didn't get a file ...more > <http://groups.google.com/group/django-users/msg/2c37c397f4914?utm_source=digest&utm_medium=email> > Back to top <#m_3690000047550022064_digest_top> > Deploying django in plesk > <http://groups.google.com/group/django-users/t/94efa1ca86441658?utm_source=digest&utm_medium=email> > frank galan <[email protected]>: Aug 25 12:08PM -0700 > > Hi everybody. > I've already deployed my app in Plesk, but the process is incomplete, . > The static files not working, I mean the app can not read them. > I know I need put them in the right position, ...more > <http://groups.google.com/group/django-users/msg/2a00fc6ea48a9?utm_source=digest&utm_medium=email> > Gabriel Araya Garcia <[email protected]>: Aug 25 05:03PM -0400 > > Hi, Frank: > Perhaps that can run if you put the statics folder in the exterior level. > Por example: > misite/misite/myapp > In local, I have my statics folder in myapp level, but in hosting I must > to ...more > <http://groups.google.com/group/django-users/msg/2a9a8084500cc?utm_source=digest&utm_medium=email> > Mike Dewhirst <[email protected]>: Aug 26 08:27AM +1000 > > Try manage.py collectstatic --settings=path-to-settingsLook up > collectstatic in the docsMike--(Unsigned mail from my phone) > -------- Original message --------From: frank galan ...more > <http://groups.google.com/group/django-users/msg/2aafc2c19a429?utm_source=digest&utm_medium=email> > "S.t_ &_E" <[email protected]>: Aug 25 01:52PM -0700 > > Hello, > Please make sure you have run collectstatic command before deploying. You > can > follow > https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/#static-root-and-static-url > . > ...more > <http://groups.google.com/group/django-users/msg/2ab5fc07ea6ae?utm_source=digest&utm_medium=email> > Back to top <#m_3690000047550022064_digest_top> > help with django installation > <http://groups.google.com/group/django-users/t/da7bde24254ef7c2?utm_source=digest&utm_medium=email> > Kasper Laudrup <[email protected]>: Aug 25 03:21PM +0200 > > On 25/08/2021 12.42, Amor Zamora wrote: > > exceeded with url: /? Wsdl (Caused by NewConnectionError > > ('<urllib3.connection.HTTPConnection object at 0x7f70819affd0>: Failed > > to establish a new ...more > <http://groups.google.com/group/django-users/msg/25586e9f05d79?utm_source=digest&utm_medium=email> > Back to top <#m_3690000047550022064_digest_top> > You received this digest because you're subscribed to updates for this > group. You can change your settings on the group membership page > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/django-users/join> > . > To unsubscribe from this group and stop receiving emails from it send an > email to [email protected]. > -- Regards, Rakesh M, +91-8367383717. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABMbe9jSuXbVbSHe%2BKvzDy-T9t6trq2p674VNc%3D63W0NVJKWtw%40mail.gmail.com.

