Connection pooling to MariaDB SQL database

2020-03-02 Thread Simen Russnes
Good morning list What are the best strategies for implementing connection pooling for connections to a MariaDB SQL database? Are there built in capabilities in Django at the moment, or do I have to install something like https://pypi.org/project/django-db-connection-pool/ ? Simen -- You receiv

Error while adding entries through django admin

2020-03-02 Thread Santhosh sridhar
Hi, I have registered a model in my django admin page. When I click the Add link, it throws me this error, Invalid block tag: 'change_list_object_tools', expected 'endblock' *django.template.base.TemplateSyntaxError: . I could not get any solution. Appreciating someone's help.* *Regards,* *S

DjangoProject related queries: what is name(means unknown random number) after HTTP status code.

2020-03-02 Thread Lahu Chavan
when we run command on teminal python manage.py runserver after will get local server IP address click on immediately, one hand will open a webbrowser page of django project and another hand on terminal continue processing in format [Date] "HTTP method" HTTP status code | unknown random nu

can you make program from this algorithm

2020-03-02 Thread sagar ninave
-- 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 visit https://groups.google.com/d/m

Re: Python Django Training

2020-03-02 Thread shimaa
hello I'm interested too. You can add me up on WhatsApp +02001016334768 بتاريخ السبت، 1 فبراير، 2020 3:42:52 م UTC+2، كتب Srikanth K: > > Hi, > > I am from Hyderabad. I am Python Developer by Profession. I am eager take > up any Python , Django Training (online Preferrable or Weekends). Members

Re: new to django

2020-03-02 Thread Lokendra Chouhan
Django life cycle link - https://www.reddit.com/r/webexpert/comments/dgp283/django_request_response_cycle/ On Mon, Mar 2, 2020 at 12:41 PM Aditya Khatwa wrote: > Congratulations 1st step completed a 100 more to go.😅 > > On Sun, 1 Mar 2020, 23:55 Omkar Parab, wrote: > >> Here's the Perfect Djang

Re: Python Django Training

2020-03-02 Thread Lokendra Chouhan
Django life cycle link - https://www.reddit.com/r/webexpert/comments/dgp283/django_request_response_cycle/ On Mon, Mar 2, 2020 at 12:16 PM amanda wrote: > I am interesting learn > > 在 2020年2月1日星期六 UTC+1下午2:42:52,Srikanth K写道: >> >> Hi, >> >> I am from Hyderabad. I am Python Developer by Professi

Re: Python Django Training

2020-03-02 Thread MS V
Please add me too On Mon, Mar 2, 2020 at 12:17 PM amanda wrote: > I am interesting learn > > 在 2020年2月1日星期六 UTC+1下午2:42:52,Srikanth K写道: >> >> Hi, >> >> I am from Hyderabad. I am Python Developer by Profession. I am eager take >> up any Python , Django Training (online Preferrable or Weekends).

How to create multipage forms with different models

2020-03-02 Thread victor awakan
I am a building a small project in Django. I am able to create two or more forms in a template but now, I want to split the form to separate templates with each form belong to different models. How can I achieve this? Here is a link to dpaste with the multiple forms in a template I created: htt

Re: new to django

2020-03-02 Thread victor awakan
You can first try the django official tutorial. This will give you a rough idea how things works. https://docs.djangoproject.com/en/3.0/ On Sunday, March 1, 2020 at 8:04:45 PM UTC+2, Gurjot Kawatra wrote: > > hello everyone ...if anybody could help me out > my django server is started and i'm

mysqlclient for django

2020-03-02 Thread hajar Benjat
hello everyone ! hope you are fine ! I want to connect my database with django to do some reports on this data ( that's like business intelligence ) I have problems to install mysqlclient in my windows , can you advice me guys which command I should try ? also I want to ask if someone have alr

Re: can you make program from this algorithm

2020-03-02 Thread Kasper Laudrup
Hi Sagar, I'm sure there are plenty places where you can pay people to do your homework for you. The Django users mailing list is not one of them. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: can you make program from this algorithm

2020-03-02 Thread sagar ninave
i just want help to know how i implement this algorithm only if anyone can do this then they can guide me. i don't want to pay anyone On Mon, Mar 2, 2020 at 4:41 AM Kasper Laudrup wrote: > Hi Sagar, > > I'm sure there are plenty places where you can pay people to do your > homework for you. > >

AttributeError: 'NoneType' object has no attribute 'app_name'

2020-03-02 Thread Sencer Hamarat
Hello, The project I'm working on has it's custom template context_processor. And when unavailable URL request arrives to Django (Eg. "/wp-login.php"), the context_processor is throwing AttributeError. Which way should I use to prevent from context processor from throwing errors? Is it ok to w

mysqlclient for django

2020-03-02 Thread shedd tutt
Use pip install mysqlclient -- 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 visit

Python and Django Internship

2020-03-02 Thread kamta singh
Hello Django Developers We would like to provide you with opportunities to work in a live project on Django. This is an internship which requires you to collaborate effectively with other members of the team based in India. Requirements: Good Knowledge of Django Good Knowledge of Python Good

Re: mysqlclient for django

2020-03-02 Thread hajar Benjat
I already use this and it give me error message On Mon, Mar 2, 2020, 2:03 PM shedd tutt wrote: > Use pip install mysqlclient > > -- > 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

Re: can you make program from this algorithm

2020-03-02 Thread Kasper Laudrup
Hi Sagar, On 03/03/2020 03.19, sagar ninave wrote: i just want help to know how i implement this algorithm only if anyone can do this then they can guide me. i don't want to pay anyone Share the code you've written so far or explain what you are uncertain about. Kind regards, Kasper Laud

Re: DjangoProject related queries: what is name(means unknown random number) after HTTP status code.

2020-03-02 Thread Integr@te System
Hi Lahu, Check Django doc for your idea https://github.com/django/django/blob/stable/2.2.x/django/utils/log.py Nice. On Mon, Mar 2, 2020, 19:37 Lahu Chavan wrote: > when we run command on teminal python manage.py runserver after will get > local server IP address click on immediately, one han

Re: mysqlclient for django

2020-03-02 Thread hajar Benjat
C:\Users\lenovo ideapad\Desktop\django-chartit\django-project\my_chartit>pip install mysqlclient Collecting mysqlclient Using cached mysqlclient-1.4.6.tar.gz (85 kB) Installing collected packages: mysqlclient Running setup.py install for mysqlclient ... error ERROR: Command errored out wi

Django Platform (not just Framework)

2020-03-02 Thread guettli
I know the terms "Platform" and "Framework" are not well-defined. For me a platform allows you to install plugins without touching source code. For example, Nextcloud is a platform (for me). Is there already a third-party solution that provides a platform based on Django? This would be very v

website using django

2020-03-02 Thread bijay subedi
i am simply not getting to the point what to keep in model.py when creating a webpage for tourist guide website .what are the things i basiclly need to put in database fields? please help me out with -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Python Django Training

2020-03-02 Thread Hadisur Rahman
add me too ᐧ On Mon, Mar 2, 2020 at 6:38 PM MS V wrote: > Please add me too > > On Mon, Mar 2, 2020 at 12:17 PM amanda wrote: > >> I am interesting learn >> >> 在 2020年2月1日星期六 UTC+1下午2:42:52,Srikanth K写道: >>> >>> Hi, >>> >>> I am from Hyderabad. I am Python Developer by Profession. I am eager >>

Re: website using django

2020-03-02 Thread Omkar Parab
Destination_name Image Description Ratings On Mon, Mar 2, 2020, 11:06 PM bijay subedi wrote: > i am simply not getting to the point what to keep in model.py when > creating a webpage for tourist guide website .what are the things i > basiclly need to put in database fields? > please help me

Stuck with Django on a Synology Diskstation

2020-03-02 Thread 'MH' via Django users
Hi there I am rather a newbie, but after some problems I got django installed on my Synology Diskstation. So, I ignored many other problems and am very happy that I built my very first, very simple app. And now I would like to move it from the development stage to the production stage. Obviousl

The problem with saving the session without using a browser (using python.requests).

2020-03-02 Thread Владимир Пылев
Hello! In my situation, I need to communicate with the django application through python from the desktop application (using python.requests). The logic is this: 1 - Transfer the username and password to the login() - get and save to file the *session_id*. 2 - Use *session_id* from file to ident

Re: website using django

2020-03-02 Thread Take Fun
Bro... We are from the same ground... But can you tell me more clearly... Ali buje na maile... On Mon, Mar 2, 2020, 11:22 PM bijay subedi wrote: > i am simply not getting to the point what to keep in model.py when > creating a webpage for tourist guide website .what are the things i > basiclly

Django on Synoloy

2020-03-02 Thread 'MH' via Django users
Dear all I have a problem to get my django app from development to production stage on a Synology Diskstation. I installed apache 2.4, but I do not know how to proceed and I am always running into errors. Please give some guidance and I will add specific error messages. Best regards MH PS: I

in python project using pycharm, im getting error, any help

2020-03-02 Thread Amr Hamed
-- Edit question in python project using pycharm, im getting error, any help: models.py from django.con

Class based views vs methods

2020-03-02 Thread guettli
The django tutorial starts with method based views. What is the state of the art? If I am unsure: Do you suggest to use class-based or method-based views? Regards, Thomas -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

Re: Class based views vs methods

2020-03-02 Thread Ernest Thuku
first I can advice you to learn the function based views. They will give you a good foundation of how views work and after that switch to Class Based Views(they are magical and easy to use). On Tue, Mar 3, 2020 at 12:59 AM guettli wrote: > The django tutorial starts with method based views. > >

Re: Integrating Django Rest Framework with Microsoft Office 365

2020-03-02 Thread Nosa Omorodion
Oh! I am actually done working on all my endpoints. This part of the application is something new to me. Struggling with it. On Sun, Mar 1, 2020, 3:07 PM Motaz Hejaze wrote: > This is a whole project you asking about > > On Sun, 1 Mar 2020, 2:56 pm Nosa Omorodion, > wrote: > >> I am currentl

Re: Integrating Django Rest Framework with Microsoft Office 365

2020-03-02 Thread DANIEL URBANO DE LA RUA
https://realpython.com/manage-users-in-django-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 an email to django-users+unsubscr...@googlegroups.com. To view this disc

Re: How to debug Daphne CPU 100% issue

2020-03-02 Thread Fogmoon
Yes, the CPU return %80 ~ 100%. I still check all the items, it just seems OK, which have the similar value like that when CPU is normal. One obvious difference is the strace command (*sudo strace -c -p 22549*) output: When CPU is high, the output always show the right 64bit mode after the w

Re: Stuck with Django on a Synology Diskstation

2020-03-02 Thread nitish kumar
Hi MH, what flavour of Linux you are using. if it is centos/redhat you can use below steps. $sudo yum install httpd24-devel.x86_64 gcc git $sudo python3.5 -m pip install mod-wsgi once installed you need to add site configuration and permissions to your Django code. $ cd ~/django_a