Re: Abridged summary of django-users@googlegroups.com - 15 updates in 5 topics

18 views
Skip to first unread message

Rakesh Varma

unread,
Aug 26, 2021, 4:20:18 PM8/26/21
to django...@googlegroups.com
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 <django...@googlegroups.com> wrote:
Isaac <isaac.im...@gmail.com>: 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
Eugene TUYIZERE <eugenet...@gmail.com>: 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
Isaac <isaac.im...@gmail.com>: 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
Steven Mapes <st...@jigsawtech.co.uk>: 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
Christian Ledermann <christian...@gmail.com>: 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
Isaac Imafidon <isaac.im...@gmail.com>: Aug 26 11:53AM +0100

Thanks everyone that contributed, you guys have really shown me much love.
Am so grateful . Much appreciated. 🙏🙏
...more
Isaac Imafidon <isaac.im...@gmail.com>: 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
DJANGO DEVELOPER <abubak...@gmail.com>: 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
DJANGO DEVELOPER <abubak...@gmail.com>: Aug 26 01:27PM +0500

can anyone help me?
 
On Thu, Aug 26, 2021 at 9:32 AM DJANGO DEVELOPER <abubak...@gmail.com>
wrote:
 
...more
"narendra...@gmail.com" <narendra...@gmail.com>: 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
frank galan <frankg...@gmail.com>: 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
Gabriel Araya Garcia <gabriela...@gmail.com>: 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
Mike Dewhirst <mi...@dewhirst.com.au>: 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
"S.t_ &_E" <nama...@gmail.com>: 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
Kasper Laudrup <lau...@stacktrace.dk>: 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
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to django-users...@googlegroups.com.


--
Regards,
Rakesh M,

Kasper Laudrup

unread,
Aug 26, 2021, 5:52:24 PM8/26/21
to django...@googlegroups.com
On 26/08/2021 18.07, Rakesh Varma wrote:
> I am getting error while i am running console ofpythonanywhere.com
> <http://ofpythonanywhere.com>
>
> django.db.utils.OperationalError: (2002, "Can't connect to local MySQL
> server through socket '/var/run/mysqld/mysqld.sock' (2)")
>

Start by reading this to learn how to create a new post in this group:

https://support.google.com/groups/answer/1046523?hl=en

Once you've done that, read something like this to know how to ask a
question that someone is able and willing to answer:

https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd

Once you've done that, you'll be much closer to a solution to your problem.

Kind regards,

Kasper Laudrup

OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages