Django bugfix releases issued: 4.2.13 and 5.0.6

2024-05-07 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/may/07/bugfix-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Django bugfix releases issued: 4.2.12 and 5.0.5

2024-05-06 Thread Sarah Boyce
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/may/06/bugfix-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Re: Ticket #34646 Ordering a Django admin column based on multiple model fields

2024-04-27 Thread Fran Hrženjak
The proposed patch adds very little extra API surface. Django admin in fact already support this, but for this arbitrary restriction in `get_ordering_field`. The patch just makes it possible to pass a list down to `get_queryset` method. I would argue that this patch removes a special case

Re: Ticket #34646 Ordering a Django admin column based on multiple model fields

2024-04-26 Thread Mubarak Alrashidi
ator. >>>>> >>>>> But it got closed as a duplicate of #31975 >>>>> <https://code.djangoproject.com/ticket/31975> which was reported >>>>> about 3 years ago, and it got closed as wontfix by @Marius

Re: the design of django group permission should be optimized in django.contrib.auth.ModelBackend

2024-04-10 Thread Bendegúz Csirmaz
the Group model. It's still better than hacking around Django (see: https://stackoverflow.com/questions/2181039/how-do-i-extend-the-django-group-model). I opened a PR <https://github.com/django/django/pull/18053> to add this, it addresses the basic functionality. Let me know! On Friday 24 Januar

Django bugfix release issued: 5.0.4

2024-04-03 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/apr/03/bugfix-release/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Re: Should Django use Ada?

2024-04-02 Thread 'Michael Lissner' via Django developers (Contributions to Django itself)
gt; the fact that django or an upstream lib decided to slightly deviate from the latest URL parsing spec incarnation does not make it vulnerable per se >From Adam: > On the contradictory standards, see the cURL maintainer’s post I agree, Jorg, and thanks for the cURL reference, Adam. Specs ar

Re: Should Django use Ada?

2024-04-02 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
/2022/10/18/deviating-from-specs/ . > Anyhow, just out of curiosity, wouldn't it be possible to use > functools.partial function to replace urllib.parse.urlparse with ada-python > in settings.py? Or make some kind of django extension that integrates this > other dependency? It s

Re: Should Django use Ada?

2024-04-02 Thread Adrián Salatino
kind of django extension that integrates this other dependency? On Mon, Apr 1, 2024 at 10:37 PM 'Michael Lissner' via Django developers (Contributions to Django itself) wrote: > Hi all, > > A few years ago, I reported a vulnerability in Django because Python > wasn't parsing URLs con

Re: Should Django use Ada?

2024-04-01 Thread Jörg Breitbart
You write: "It could still be a vulnerability ... / It could fail to parse ... / could decide it's invalid - This is all pretty bad..." I agree - this indeed would be really bad, if it can be used in malicious ways. But note that the fact that django or an upstream lib decided t

Re: Should Django use Ada?

2024-04-01 Thread Dylan Reinhold
being too valuable to work on making it better. Dylan On Mon, Apr 1, 2024 at 1:37 PM 'Michael Lissner' via Django developers (Contributions to Django itself) wrote: > Hi all, > > A few years ago, I reported a vulnerability in Django because Python > wasn't parsing URLs conta

Should Django use Ada?

2024-04-01 Thread 'Michael Lissner' via Django developers (Contributions to Django itself)
Hi all, A few years ago, I reported a vulnerability in Django because Python wasn't parsing URLs containing tabs or newlines correctly. In this ticket, it was fixed in Python: https://bugs.python.org/issue43882 But Python, being maintained mostly by volunteers, did the minimum needed work

Django security releases issued: 5.0.3, 4.2.11, and 3.2.25

2024-03-04 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/mar/04/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Re: Proposal for SyncChatRoom Integration in Django

2024-02-18 Thread Fawemimo Owolabi
SyncChatRoom as a third-party package, and I'm considering extending it > to integrate with Django REST Framework as well. > > I'll keep the community updated on the progress, and feel free to share > any further thoughts or ideas you may have. > > Best regards, > David Ansa >

Re: Proposal for SyncChatRoom Integration in Django

2024-02-17 Thread David Ansa
Hi Fawemimo Owolabi, Thank you for your support and feedback! I appreciate your suggestion to use SyncChatRoom as a third-party package, and I'm considering extending it to integrate with Django REST Framework as well. I'll keep the community updated on the progress, and feel free to share any

Re: Proposal for SyncChatRoom Integration in Django

2024-02-16 Thread Fawemimo Owolabi
I really support these motions, it really sound great but it will be best to used as a third-party package, also for drf as well On Tuesday, February 13, 2024 at 11:21:02 PM UTC+1 Adam Johnson wrote: > Hi David > > SyncChatRoom sounds more like something that Django would help users

Re: Proposal for SyncChatRoom Integration in Django

2024-02-13 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi David SyncChatRoom sounds more like something that Django would help users build, rather than include in the framework. If it’s somewhat reusable between projects, it would be best be published as a third-party package. Thanks, Adam On Tue, Feb 13, 2024, at 8:57 PM, David Ansa wrote: >

Proposal for SyncChatRoom Integration in Django

2024-02-13 Thread David Ansa
Hi Everyone, I'm excited to propose the integration of SyncChatRoom, a real-time chat functionality, into the Django framework. SyncChatRoom aims to provide native support for WebSocket communication, making it easier for developers to implement real-time chat features in their Django

Django security releases issued: 5.0.2, 4.2.10, and 3.2.24

2024-02-06 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/feb/06/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Django project website UX: call for help!

2024-02-01 Thread Contributions to Django itself
Hello everyone, at 20tab we just finished collaborating with the Django Software Foundation to improve the Django project website's accessibility and usability. We now need you to help us understand how involved people are in the Django project and how much they care for good UX. Fill out

Re: Possible async view regression in django 5.0?

2024-01-29 Thread Natalia Bidart
, 2024 at 9:23 PM Hugo Heyman wrote: > Hello! > > I've been troubleshooting an issue with lingering idle db connections > (postgres) since upgrading from django 4.2 to 5.0. The issue manifested by > db raising OperationalError FATAL: sorry, too many clients already not long > after

Possible async view regression in django 5.0?

2024-01-28 Thread Hugo Heyman
Hello! I've been troubleshooting an issue with lingering idle db connections (postgres) since upgrading from django 4.2 to 5.0. The issue manifested by db raising OperationalError FATAL: sorry, too many clients already not long after deploying the new version. We're running asgi with uvicorn

Django bugfix releases issued: 4.2.9 and 5.0.1

2024-01-02 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/jan/02/bugfix-release/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Django 5.0 released

2023-12-04 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/dec/04/django-50-released/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Django bugfix release: 4.2.8

2023-12-04 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/dec/04/bugfix-release/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Django 5.0 release candidate 1 released

2023-11-20 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/nov/20/django-50-rc1/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Re: How do you set the python path for django-admin?

2023-11-09 Thread Carlton Gibson
Hi tobias. The django-admin command has a `--pythonpath` option for this (docs <https://docs.djangoproject.com/en/4.2/ref/django-admin/#cmdoption-pythonpath> ). So, for example in a 3rd party package using the src layout (example <https://github.com/carltongibson/neapolitan>) wher

How do you set the python path for django-admin?

2023-11-08 Thread Tobias Bengfort
Hi everyone, https://docs.djangoproject.com/en/4.2/ref/django-admin/ claims that manage.py, django-admin and python -m django are practically interchangable. However, I noticed that they behave differently when it comes to the python path (the path you can import modules from). I used `CMD

Re: Wrong ordering of many-to-many fields with explicit intermediary model in Django admin

2023-11-02 Thread Mariusz Felisiak
Hi Alan, This is a known issue, you can find a discussion in https://code.djangoproject.com/ticket/12203. It's an accepted ticket so feel-free to work on it. Best, Mariusz -- You received this message because you are subscribed to the Google Groups "Django developers (Contribu

Wrong ordering of many-to-many fields with explicit intermediary model in Django admin

2023-11-01 Thread Alan Evangelista
as intermediary model. I have defined Submission inlines in a ModelAdmin class (used by Django admin) and defined the markets field as the first one in the fields attribute of a form associated with that submission inline. However, that field is being shown by last (at the end of the inline row

Django security releases issued: 4.2.7, 4.1.13, and 3.2.23

2023-11-01 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/nov/01/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Re: Potential bug with how Value works with Django ORM queries

2023-10-26 Thread Nitin Chaudhary
Not sure what db you're using but will explain assuming PG. > > In this particular example, Django uses the `->` operator which requires > that we compare jsonb types. The `__in=("Program1", "Program2")` is > converted to jsonb via `DatabaseOperations.ada

Re: Potential bug with how Value works with Django ORM queries

2023-10-26 Thread David Sanders
Hi Nitin, Not sure what db you're using but will explain assuming PG. In this particular example, Django uses the `->` operator which requires that we compare jsonb types. The `__in=("Program1", "Program2")` is converted to jsonb via `DatabaseOperations.adapt_json_va

Potential bug with how Value works with Django ORM queries

2023-10-25 Thread Nitin Chaudhary
d. CONTEXT: JSON data, line 1: Program1 and Study.objects.all().filter(study_data__protocol__general__program_name__in=("Program1","Program2")) works fine. I am not sure if this is a potential bug with Django or is like this by design. Would really appreciate if someone can explain this behavior diffe

Django 5.0 beta 1 released

2023-10-23 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/oct/23/django-50-beta-1-released/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubs

Re: HELP needed in a Reactjs Django project

2023-10-14 Thread Dinesh Subramaniyam
I have done like this where there is input in front end and data is passed to django admin panel you have to make first crossorigin in django and then make api structure in django and then pass it in reactjs call api from axios I have code of it I will send you after some time understand it simple

Re: HELP needed in a Reactjs Django project

2023-10-13 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list

Re: HELP needed in a Reactjs Django project

2023-10-13 Thread Plamedi klj
Bien Le ven. 13 oct. 2023 à 14:14, Tejas Vaij a écrit : > I am trying to upload a blob from a service-worker in react-js to a django > server but for some reason it is not getting uploaded. I have tried a lot > of things but nothing seems to be working. Can anyone please help me kn

HELP needed in a Reactjs Django project

2023-10-13 Thread Tejas Vaij
I am trying to upload a blob from a service-worker in react-js to a django server but for some reason it is not getting uploaded. I have tried a lot of things but nothing seems to be working. Can anyone please help me know what is going wrong with my code. Here is the stackoverflow link where

Django security releases issued: 4.2.6, 4.1.12, and 3.2.22

2023-10-04 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/oct/04/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Re: Django in Portuguese

2023-09-19 Thread אורי
Hi, I created the following issue: https://code.djangoproject.com/ticket/34854 Thanks, Uri. אורי u...@speedy.net ‪On Tue, Sep 19, 2023 at 9:57 PM ‫אורי‬‎ wrote:‬ > Django Developers, > > I need to translate my website (Django) to Portuguese (Europe/Portugal > version). I transla

Django in Portuguese

2023-09-19 Thread אורי
Django Developers, I need to translate my website (Django) to Portuguese (Europe/Portugal version). I translated the site and I was surprised to see that a specific error message was in English (from FileExtensionValidator). I checked and found out that there are many untranslated strings

Django 5.0 alpha 1 released

2023-09-18 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/sep/18/django-50-alpha-1-released/ This is my first alpha release, so let me know if you see something odd! Cheers, Natalia. -- You received this message because you are subscribed to the Google

Django security releases issued: 4.2.5, 4.1.11, and 3.2.21

2023-09-04 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/sep/04/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Re: Digest for django-developers@googlegroups.com - 1 update in 1 topic

2023-08-28 Thread Asif Saif Uddin
I just want to share my 2 cents... Oracle is highly used in government and big Corporations in my country and banks and many critical places. So while the number of django user of oracle might be low, the prospect of introducing python and django to a legacy project is invaluable. I personally

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-27 Thread David Sanders
iorre > wrote: > >> Hi Mariusz, >> >> On Thu, Aug 3, 2023 at 8:47 PM Mariusz Felisiak >> wrote: >> > I'm quite surprised that you've started a new thread for something that >> was already discussed, you could always add a comment to the existing >>

Hi, I'm new to the django community

2023-08-13 Thread QUVONCHBEK Bobojonov
hi, I'm new to the django community and I had 1 suggestion. Django admin panel needs a new modern design. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop

Fwd: Django dynamic multiple databases

2023-08-12 Thread pankaj palmate
-- Forwarded message - From: pankaj palmate Date: Sat, 12 Aug, 2023, 20:12 Subject: Django dynamic multiple databases To: I want to creating saas based application containing one super admin and rest will be customers where each customer will have their own database .want

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-09 Thread 'Lily Foote' via Django developers (Contributions to Django itself)
new thread for something that was >>> already discussed, you could always add a comment to the existing thread >>> e.g. >>> https://groups.google.com/g/django-developers/c/dg8BUVHKOo4/m/5uFVmdWCAwAJ >> >> I was not aware of this thread, thanks for linking it. &

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-09 Thread Carlton Gibson
that > was already discussed, you could always add a comment to the existing > thread e.g. > https://groups.google.com/g/django-developers/c/dg8BUVHKOo4/m/5uFVmdWCAwAJ > > I was not aware of this thread, thanks for linking it. > > >> I wanted to share the frustration of seeing ye

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-04 Thread Paolo Melchiorre
Hi Mariusz, On Thu, Aug 3, 2023 at 8:47 PM Mariusz Felisiak wrote: > I'm quite surprised that you've started a new thread for something that was > already discussed, you could always add a comment to the existing thread e.g. > https://groups.google.com/g/django-developers/c/dg8B

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-04 Thread Carsten Fuchs
Hello, when I got started with Django more than 10 years ago, I had inherited a legacy project with an Oracle database for porting from PHP to Python. It might also have worked out well if Oracle support had been a 3rd party package, but I can say for sure that Oracle being a core feature

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-03 Thread Mariusz Felisiak
Hi Paolo, I'm quite surprised that you've started a new thread for something that was already discussed, you could always add a comment to the existing thread e.g. https://groups.google.com/g/django-developers/c/dg8BUVHKOo4/m/5uFVmdWCAwAJ > I wanted to share the frustration of seeing

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-03 Thread Tom Carrick
an impetus for this when it's in Django's codebase), it may just end up abandoned. Tom On Thu, 3 Aug 2023 at 13:27, Jörg Breitbart wrote: > +1 from my side for removing oracle support from django itself. > > If very low usage + high maintenance burden does not qualify for feature > removal,

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-03 Thread Jörg Breitbart
+1 from my side for removing oracle support from django itself. If very low usage + high maintenance burden does not qualify for feature removal, idk what does - maybe not being supportive at all. Oh wait... In the end such low usage numbers are prolly better served by a 3rd party package

Re: Proposing the removal of Oracle from the Django supported backend databases

2023-08-03 Thread Christopher Jones
On Thu, Aug 3, 2023 at 6:26 PM Paolo Melchiorre wrote: > Hi all, > I wanted to share the frustration of seeing yet another great new ORM > feature blocked due to Oracle compatibility: > https://github.com/django/django/pull/16417 > > In the past, I too have had to put a lo

Proposing the removal of Oracle from the Django supported backend databases

2023-08-03 Thread Paolo Melchiorre
Hi all, I wanted to share the frustration of seeing yet another great new ORM feature blocked due to Oracle compatibility: https://github.com/django/django/pull/16417 In the past, I too have had to put a lot of effort trying to make a PR compatible with Oracle, making the overall contributing

Django bugfix release: 4.2.4

2023-08-01 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/aug/01/bugfix-release/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Re: Django app

2023-07-10 Thread Akshat Verma
Yahh I can help too On Thu, Jul 6, 2023, 20:41 Sospeter Mong'are wrote: > Hi, > I need a mate to help me a simple django app test here. to brainstom > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions t

Re: Django app

2023-07-09 Thread Kiet Lam
; >> I can help >> >> On Thu 6. Jul 2023 at 17:12, Sospeter Mong'are >> wrote: >> >>> Hi, >>> I need a mate to help me a simple django app test here. to brainstom >>> >>> -- >>> You received this message because you are subs

Re: Django app

2023-07-06 Thread Sospeter Mong'are
Hi @marline, Kindly check your google chat. On Thursday, July 6, 2023 at 8:00:44 PM UTC+3 Marline Khavele wrote: > I can help > > On Thu 6. Jul 2023 at 17:12, Sospeter Mong'are wrote: > >> Hi, >> I need a mate to help me a simple django app test here. to brainstom &

Re: Django app

2023-07-06 Thread Marline Khavele
I can help On Thu 6. Jul 2023 at 17:12, Sospeter Mong'are wrote: > Hi, > I need a mate to help me a simple django app test here. to brainstom > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions t

Django app

2023-07-06 Thread Sospeter Mong'are
Hi, I need a mate to help me a simple django app test here. to brainstom -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, sen

Django security releases issued: 4.2.3, 4.1.10, and 3.2.20

2023-07-03 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/jul/03/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Re: Deploying Django under a sub-path

2023-06-23 Thread Arthur Pemberton
` itself is not documented anywhere; seems like it should at least be mentioned in the Deployment section. Arthur Pemberton On Fri, Jun 23, 2023 at 3:07 PM 'Adam Johnson' via Django developers (Contributions to Django itself) wrote: > Hi Arthur, > > You've found the wrong mai

Re: Deploying Django under a sub-path

2023-06-23 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi Arthur, You've found the wrong mailing list for this thread. This mailing list is for discussing the development of Django itself, not for support using Django. I guess that's why no one replied. If you would like to suggest a documentation change please do open a PR with reference

Re: Ticket #34646 Ordering a Django admin column based on multiple model fields

2023-06-23 Thread Mubarak Alrashidi
code.djangoproject.com/ticket/31975> which was reported about >>>> 3 years ago, and it got closed as wontfix by @Mariusz Felisiak >>>> <https://github.com/felixxm> because he said: *"We don't want to add >>>> unnecessary complexity to the API.&

Re: Ticket #34646 Ordering a Django admin column based on multiple model fields

2023-06-18 Thread David Sanders
; But it got closed as a duplicate of #31975 >>> <https://code.djangoproject.com/ticket/31975> which was reported about >>> 3 years ago, and it got closed as wontfix by @Mariusz Felisiak >>> <https://github.com/felixxm> because he said: *"We don't want to

Re: Ticket #34646 Ordering a Django admin column based on multiple model fields

2023-06-18 Thread Mark Niehues
t closed as a duplicate of #31975 >>> <https://code.djangoproject.com/ticket/31975> which was reported about 3 >>> years ago, and it got closed as wontfix by @Mariusz Felisiak >>> <https://github.com/felixxm> because he said: *"We don't want to

Re: Ticket #34646 Ordering a Django admin column based on multiple model fields

2023-06-18 Thread David Sanders
lexity to the API.".* >> >> And I agree with what @Petr Dlouhý >> <https://code.djangoproject.com/query?status=!closed=PetrDlouhy> >> says: *"it is small modification of Django code and small increase in >> API complexity (which is consistent with the logic of othe

Re: Ticket #34646 Ordering a Django admin column based on multiple model fields

2023-06-18 Thread Mubarak Alrashidi
PI.".* > > And I agree with what @Petr Dlouhý > <https://code.djangoproject.com/query?status=!closed=PetrDlouhy> > says: *"it is small modification of Django code and small increase in > API complexity (which is consistent with the logic of other order fields, > B

Re: Deploying Django under a sub-path

2023-06-16 Thread Arthur Pemberton
gt;> it. >> >> Reading through the code, I see very little use of `SCRIPT_NAME` itself, >> however as far as I can tell, use of `SCRIPT_NAME` is supposed to be how >> one deploys Django at a sub-path. >> >> I had to modify wsgi.py per >> https://r

Re: Deploying Django under a sub-path

2023-06-16 Thread Arthur Pemberton
ery little of how to use > it. > > Reading through the code, I see very little use of `SCRIPT_NAME` itself, > however as far as I can tell, use of `SCRIPT_NAME` is supposed to be how > one deploys Django at a sub-path. > > I had to modify wsgi.py per > https://ruddra.com/depl

Deploying Django under a sub-path

2023-06-16 Thread Arthur Pemberton
The docs reference `FORCE_SCRIPT_NAME` but say very little of how to use it. Reading through the code, I see very little use of `SCRIPT_NAME` itself, however as far as I can tell, use of `SCRIPT_NAME` is supposed to be how one deploys Django at a sub-path. I had to modify wsgi.py per https

Ticket #34646 Ordering a Django admin column based on multiple model fields

2023-06-10 Thread Mubarak Alrashidi
om/felixxm> because he said: *"We don't want to add unnecessary complexity to the API.".* And I agree with what @Petr Dlouhý <https://code.djangoproject.com/query?status=!closed=PetrDlouhy> says: *"it is small modification of Django code and small increase in API comp

Interaction to Django community

2023-06-06 Thread kumbhaj shukla
Hey Techies, Kumbhaj this side. I am new member here I just want explore and intract to you all community members. Current status: MERN developer, College student, founder of bugbaar THINKING TO Deep drive python django also. Let's Connect: Linkedin: https://www.linkedin.com/in/kumbhaj Youtube

Django bugfix release: 4.2.2

2023-06-05 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/jun/05/bugfix-release/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Re: Django t-shirt

2023-06-02 Thread Thibaud Colas
Hi Fabien, for what it’s worth Django also has merch with FreeWear, who are based in Spain: https://www.freewear.org/Django Cheers, Thibaud On Monday, 16 January 2023 at 13:26:25 UTC Fabien Schwob wrote: > Hello, > > It would be awesome to also have a Threadless alternative f

Django 5.x Steering Council Election Results

2023-05-16 Thread Katie McLaughlin
The Steering Council for the Django 5.x release cycle will be: * Simon Charette * Andrew Godwin * Adam Johnson * James Bennett Congratulations to the new council, and a special thank you for the departing members Thomas Forbes and Florian Apolloner. Thank you to everyone who participated

Django security releases issued: 4.2.1, 4.1.9, and 3.2.19

2023-05-03 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/may/03/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from

Re: Django behavior on translatable URL patterns (i18n_patterns) when prefix_default_language=False is used.

2023-04-27 Thread Mariusz Felisiak
Anthony, please don't start the same discussion on multiple channels. If anyone wants to add a comment, please do so in the forum <https://forum.djangoproject.com/t/django-behavior-on-translatable-url-patterns-i18n-patterns-when-prefix-default-language-false-is-used/20564/11> . -- You re

Django behavior on translatable URL patterns (i18n_patterns) when prefix_default_language=False is used.

2023-04-27 Thread Anthony Baillard
I have reported a few days ago an issue in Django 4.2 regarding translatable URL patterns: https://code.djangoproject.com/ticket/34515 Sarah Boyce (thank you Sarah) is working on a patch to fix the 404 issue: https://github.com/django/django/pull/16797 But, for now, we do not agree

Re: Django 5.x Technical Board Candidate Registration

2023-04-22 Thread Katie McLaughlin
With apologies from the Secretary, the above information is incorrect regarding the candidacy requirements for this election. The new post with the updated details has been posted here: https://groups.google.com/g/django-developers/c/ZjkbmE5bIoE Regards, Katie McLaughlin Secretary Django

Django 5.x Steering Council Candidate Registration

2023-04-22 Thread Katie McLaughlin
With the completion of the Django 4.x major release cycle and in accordance with DEP-0010 <https://github.com/django/deps/blob/main/accepted/0010-new-governance.rst#process-of-selecting-the-technical-board> and DEP-0012 <https://github.com/django/deps/blob/main/accepted/0012

Django 5.x Technical Board Candidate Registration

2023-04-22 Thread Katie McLaughlin
With the completion of the Django 4.x major release cycle and in accordance with DEP-0010 <https://github.com/django/deps/blob/main/accepted/0010-new-governance.rst#process-of-selecting-the-technical-board>, it is now time to collect candidates for the Django Technical Board. Technical

Re: Production Django use and "real ip"

2023-04-20 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
> Are there any deployment scenarios where META.REMOTE_ADDR is ever even correct? Yes, when running a WSGI server that faces the internet, with no intermediate proxies. On Wed, Apr 19, 2023 at 3:51 PM Arthur Pemberton wrote: > At this point, I'm not even suggesting that Django

Re: Production Django use and "real ip"

2023-04-19 Thread Arthur Pemberton
At this point, I'm not even suggesting that Django handle this internally. I'm suggesting that the behaviour/expectation be documented, at least in the deployment guide. Are there any deployment scenarios where META.REMOTE_ADDR is ever even correct? Arthur Pemberton On Wed, Apr 19, 2023 at 3:37

Re: Production Django use and "real ip"

2023-04-19 Thread 'st...@jigsawtech.co.uk' via Django developers (Contributions to Django itself)
ders. It's especially messy when dealing with requests on mobile network where the carrier uses proxies, sometimes 3rd parties, and where your website is hosted behind both load balancers and webserver as each may manipulate the header in different ways. One of the best packages within th

Re: Production Django use and "real ip"

2023-04-14 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
read previous discussions (most recent I could find was Dec 2013 > [1] ) on the inclusion of `HTTP_X_FORWARDED_FOR` based logic to get the > "real" IP address of an HttpRequest. From what I can see, currently there > is currently no automatic handling of `HTTP_X_FORWARDED_FOR` in

Re: Django "makemigrations -- update" donot working

2023-04-11 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
e" again. > > I do not think it's a bug in Django. > > Cheers, > David > > Le sam. 8 avr. 2023 à 16:50, Muhammad Juwaini Abdul Rahman < > juwa...@gmail.com> a écrit : > >> Do you need that '--update' parameter? >> >> On Fri, 7 Apr 2023 at 05

Re: Django "makemigrations -- update" donot working

2023-04-09 Thread David Wobrock
ns --update" again. I do not think it's a bug in Django. Cheers, David Le sam. 8 avr. 2023 à 16:50, Muhammad Juwaini Abdul Rahman < juwa...@gmail.com> a écrit : > Do you need that '--update' parameter? > > On Fri, 7 Apr 2023 at 05:57, Saifullah Shahen > wrote: > >

Re: Opensource Django Project

2023-04-08 Thread Tim Graham
Yes. See https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/ On Saturday, April 8, 2023 at 10:50:17 AM UTC-4 Naresh Pahariya wrote: > Me too... > > I think there is a documentation for django contribution. > > Thanks, > Naresh > > On S

Re: Django "makemigrations -- update" donot working

2023-04-08 Thread Muhammad Juwaini Abdul Rahman
models.CharField(max_length=255) > > after adding a field "name" when i run "makemigrations --update" it shows > a error: > > CommandError: Cannot update applied migration > 'authentication.0001_initial'. > > -- > You received this message because you

Re: Opensource Django Project

2023-04-08 Thread Naresh Pahariya
Me too... I think there is a documentation for django contribution. Thanks, Naresh On Sat, 8 Apr, 2023, 3:51 pm Dipankar, wrote: > Hi All, > > I want to contribute to the Open Source Django Project as a developer. > Can anybody help me please? > > -- > Warm

Opensource Django Project

2023-04-08 Thread Dipankar
Hi All, I want to contribute to the Open Source Django Project as a developer. Can anybody help me please? -- Warm Regards, Dipankar B. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To u

Re: Django "makemigrations -- update" donot working

2023-04-07 Thread Dipankar
validators=[validate_phone_number]) > name = models.CharField(max_length=255) > > after adding a field "name" when i run "makemigrations --update" it shows > a error: > > CommandError: Cannot update applied migration > 'authentication.0001_initial'. > > -- >

Django "makemigrations -- update" donot working

2023-04-06 Thread Saifullah Shahen
annot update applied migration 'authentication.0001_initial'. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send

Re: Issue with get_FOO_display not working in Django admin

2023-04-05 Thread David Sanders
Elenein' via Django developers (Contributions to Django itself) wrote: > Isn't this some sort of duplication? why not just use it instead of > writing its logic again? > > -- You received this message because you are subscribed to the Google Groups "Django developers (Contri

Re: Issue with get_FOO_display not working in Django admin

2023-04-05 Thread 'Ibrahim Abou Elenein' via Django developers (Contributions to Django itself)
in templates/whatever that refers to the > underlying flatchoices. > > For clarity, please see the documentation: > https://docs.djangoproject.com/en/4.2/ref/models/instances/#django.db.models.Model.get_FOO_display > > Kind regards, > David > > On Wed, 5 Apr 2023 at 0

Re: Issue with get_FOO_display not working in Django admin

2023-04-04 Thread David Sanders
/#django.db.models.Model.get_FOO_display Kind regards, David On Wed, 5 Apr 2023 at 09:10, 'Ibrahim Abou Elenein' via Django developers (Contributions to Django itself) wrote: > Dear All, > > I am writing to report an issue I encountered while working with Django > admin. I had a model with a fie

  1   2   3   4   5   6   7   8   9   10   >