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: Django's automatic admin interface.

2023-04-19 Thread Matthew Pava
I agree with your sentiment, Tom. I would add that we could get a more “SPA-feel” by using HTML over the wire or htmx, which requires minimal JavaScript. From: django-developers@googlegroups.com On Behalf Of Tom Carrick Sent: Wednesday, April 19, 2023 5:07 AM To:

Re: Deprecate CICharField, CIEmailField, CITextField

2023-04-19 Thread fly.a...@gmail.com
Hey everyone! Thanks for the discussion. And special thanks @Adam, for the great article, helped us with the migration. What I am struggling now with is whenever I specify `db_collation="case_insensitive"` on the field and this field is used in `ModelAdmin.search_fields` - Django simply

Re: Django's automatic admin interface.

2023-04-19 Thread Tom Carrick
IMO, if we were going to modernise the admin (which is laudable), it wouldn't be by using JS frameworks or Tailwind, but by simplifying things further, by removing the last bits of JQuery, simplifying the HTML and making it more semantic, and rewriting the CSS to use a grid based layout and cut

Re: Django's automatic admin interface.

2023-04-19 Thread Dipankar
Sorry if my question is wrong.. .. Not exactly technology I wanted to know about the frontend framework like tailwindCSS,react or Vue. In nutshell I want admin interface with tailwindCSS/React/Vue. any suggestion ? On Wed, Apr 19, 2023 at 3:01 PM David Sanders wrote: > Hi Dipankar, > > Not

Re: Django's automatic admin interface.

2023-04-19 Thread David Sanders
Hi Dipankar, Not being rude but serious question: What's the latest front end technology? :) On Wed, 19 Apr 2023, 7:27 pm Dipankar, wrote: > Is there any plan to replace Django's automatic admin interface with the > latest front end technology? > There are several packages available but what

Django's automatic admin interface.

2023-04-19 Thread Dipankar
Is there any plan to replace Django's automatic admin interface with the latest front end technology? There are several packages available but what if Django itself provides the same as core. -- Warm Regards, Dipankar B. -- You received this message because you are subscribed to the Google

Re: Production Django use and "real ip"

2023-04-19 Thread 'st...@jigsawtech.co.uk' via Django developers (Contributions to Django itself)
As someone whose worked on various projects in different languages over the last 15 years that heavily involved deciphering IP sent in headers to try to determine the "real" IP address of a connection, I would urge caution with anything around determining a "real IP". There is no standard in