Re: Looking Best Learning Resources Python / Django

2022-07-19 Thread Lalit Suthar
https://github.com/lalit97/django-developer-resources On Tue, 19 Jul 2022 at 21:02, Muneeb Mughal wrote: > I am looking for best learning sources for web and more in django or any > related framework with complete practice and also lead to job , > experience people recommend only .thanks . > >

Re: Remote database using ssh

2022-07-19 Thread Abdul Qoyyuum
We don't know if your DB is in the same network or not as your Django App server but the answer is to open the database port on the database server. If you're using postgresql on the Database, then install a psql client on the app server and test connect from there. If it works, then your Django

Re: Chat app using django

2022-07-19 Thread Abdul Qoyyuum
Hi Lakshyaraj, Chat app relies on quickly sending data between parties. You will need to build it with websockets and a redis database to publish and subscribe new event messages. However, this is basically reinventing the wheel versus using one that already exists (i.e. Django Channels). But all

如何在Django4.0.6中使用MongoDB数据库

2022-07-19 Thread Hella thor
Hi guys 我查询了很多的资料,发现Django无法很好的连接MongoDB(该数据库在其他的服务器中),我需要解决如下问题: 1、在settings.py文件中设置连接MongoDB,需要密码 2、在models.py文件中建立模型 3、在views.py中进行数据的读写操作 我尝试了在python中进行连接,但是我不知道如何在Django中进行连接MongoDB,以下是我的环境配置信息: python==3.9.0 django==4.0.6 pymongo==4.1.1 mongoengine==0.24.1 DATABASE [image:

Chat app using django

2022-07-19 Thread Lakshyaraj Dash
Hello guys! I'm having a discussion website in django with some sort of user authentication and I want to inject chat app with rooms made by the users themselves. I don't want any js framework in the frontend. Just tell me how to make this type of chat app using django (not Django channels).

Re: External Authentication with username in header

2022-07-19 Thread Hella thor
你可以尝试下JWT,在django中使用的话是pyjwt Anh Nguyen 于2022年7月19日周二 23:56写道: > > https://docs.djangoproject.com/en/4.1/ref/contrib/auth/#django.contrib.auth.backends.RemoteUserBackend.configure_user > Django 4.1 now supports ext auth. Never try but hope this helps > > On Tue, 19 Jul 2022 at 22:32 tcouch

Re: DRF question

2022-07-19 Thread Hella thor
Hi Ram 您可以在原来项目的基础上创建新的APP来单独给移动应用程序来使用,并在整体项目完成以后研究是不是需要DRF来兼容。 Lalit Suthar 于2022年7月19日周二 19:04写道: > I would also suggest keeping Django views as it is and writing new views > for your APIs > maybe you can create another file named apiviews.py and then write new > APIs with help of your

Re: Remote database using ssh

2022-07-19 Thread Sebastian Jung
Hey, This is easy and have nothing to do with django. Yoz must make port forwarding over ssh from postgres port. https://superuser.com/questions/1213886/how-to-open-port-via-ssh-tunnel Regards Wennie Catabay schrieb am Di., 19. Juli 2022, 17:32: > Hello, > > I am stuck on defining how to

Re: Remote database using ssh

2022-07-19 Thread Mr.Teapot
Probably your database is not listening for remote connections for security reasons. Do the database and your application server are in the same network? Or maybe you are able to set up a VPN for both of these machines. Last but not recommended solution you can open a public port and allow only

Re: Url mapping error.

2022-07-19 Thread Wazed Khan
*Installed apps On Tue, Jul 19, 2022, 10:05 PM Wazed Khan wrote: > Did you registered your app in instead app in project setting > > On Tue, Jul 19, 2022, 9:32 PM Abdulrahman Hayat < > elhayatusman1...@gmail.com> wrote: > >> After writing basic script and did all the necessary url mappings, i

Re: External Authentication with username in header

2022-07-19 Thread Anh Nguyen
https://docs.djangoproject.com/en/4.1/ref/contrib/auth/#django.contrib.auth.backends.RemoteUserBackend.configure_user Django 4.1 now supports ext auth. Never try but hope this helps On Tue, 19 Jul 2022 at 22:32 tcouch wrote: > I did something like this recently when I was trying to get a django

Re: Remote database using ssh

2022-07-19 Thread Anh Nguyen
Public db port but not recommend for security reason and performance. On Tue, 19 Jul 2022 at 22:32 Wennie Catabay wrote: > Hello, > > I am stuck on defining how to connect a remote database from another > server using ssh. I am able to connect the remote database with putty using > ssh, but but

Looking Best Learning Resources Python / Django

2022-07-19 Thread Muneeb Mughal
I am looking for best learning sources for web and more in django or any related framework with complete practice and also lead to job , experience people recommend only .thanks . -- *RegardsMuneeb Afzal* *Cell: +92 333 5646624* Email: muneeb.afzal...@gmail.com -- You received this

Remote database using ssh

2022-07-19 Thread Wennie Catabay
Hello, I am stuck on defining how to connect a remote database from another server using ssh. I am able to connect the remote database with putty using ssh, but but I don't know how to apply it in django. Thank you. -- You received this message because you are subscribed to the Google Groups

Re: External Authentication with username in header

2022-07-19 Thread tcouch
I did something like this recently when I was trying to get a django app to work with Authelia . I found this example using the RemoteUserMiddleware useful: https://github.com/authelia/authelia/commit/8c9ba407f698eacc145e5fbe4e57fc27e7411261 On Monday, July 18, 2022

Re: Django GDAL problem in M1 Chip Pro

2022-07-19 Thread 'Kasper Laudrup' via Django users
On 18 July 2022 18.46.07 CEST, Chandra Prakash Choubey wrote: >Noting is in the content. > Considering you didn't actually ask a question I don't know which kind of response you were hoping for. At least you got a fast response. Seemed like that was important to you. If you want a useful

Re: DRF question

2022-07-19 Thread Lalit Suthar
I would also suggest keeping Django views as it is and writing new views for your APIs maybe you can create another file named apiviews.py and then write new APIs with help of your present views refer: https://www.django-rest-framework.org/api-guide/views/ On Tue, 19 Jul 2022 at 06:38, Nikhil

Django 4.1 release candidate 1 released

2022-07-19 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/jul/19/django-41-rc1/ -- 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