Re: Using comment in Django

2022-11-26 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
eign key inside Profile and Post. > > Do I have another solution? > > -- > 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 sto

Re: Calling save_m2m() in UserCreationForm.save()

2022-11-27 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
user > > I'd be happy to raise a ticket and work on a patch if this change would be > useful. > > Thanks > Mark > > [1] > https://docs.djangoproject.com/en/dev/topics/auth/customizing/#custom-users-and-the-built-in-auth-forms > > -- > You received this messag

Re: Potential way forward for DATABASE_URL

2022-11-27 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
for it to > get merged into core. I believe that instead targetting a smaller scope > means we can at least provide a workable answer to the DATABASE_URL question > in the near term. And when consensus coalesces around a good overall answer > to settings, the actual URL parsing logic

Re: Integrate dj-database-url into Django

2022-11-28 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
; Could you (or others) provide some examples of the needs this solution doesn't address (not necessarily complete, just to give an idea)? Many thanks, Tobias -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself

Re: Can we move the activity on this list to the Forum now?

2022-11-28 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
[0] — and that would >> likely be good enough. >> >> Can we move now? >> >> Thanks. >> >> Kind Regards, >> >> Carlton >> >> >> [0]: I'd happily do this. >> >> -- >> You received this message because you are subsc

Re: [Technical Board?] Project Ideas, and beginning GSoC 2023.

2022-11-28 Thread 'John Whitlock' via Django developers (Contributions to Django itself)
's a minor increment to my > effort > for a good return I think.) > > > No urgency but, can I ask you to put your grey cells into action? 🙂 > > > Thanks. > > Kind Regards, > > Carlton > > -- > You received this message because you are subscribed to t

Re: [Technical Board?] Project Ideas, and beginning GSoC 2023.

2022-11-28 Thread 'st...@jigsawtech.co.uk' via Django developers (Contributions to Django itself)
include folks from the wider ecosystem in previous years. >> Two years ago >> we had both Wagtail and django-stubs projects. Wagtail then (last year) >> applied in their own right, to great success. I'd like to offer that >> help >> again to e.g. Jaz

Re: Technical Board vote on DEP 0012: The Steering Council

2022-11-28 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
gt; Florian >>> On Friday, November 25, 2022 at 10:04:36 AM UTC+1 Mariusz Felisiak wrote: >>> >>>> Thanks! >>>> >>>> Reminder: according to DEP 10 voting will end on *December 2nd, 2022* >>>> *AoE* (members of the Technical Boar

Re: [Technical Board?] Project Ideas, and beginning GSoC 2023.

2022-11-28 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ve as a third-party package. >>> >>> - I've tried to include folks from the wider ecosystem in previous >>> years. Two years ago >>> we had both Wagtail and django-stubs projects. Wagtail then (last year) >>> applied in their own right, to great s

Re: Potential way forward for DATABASE_URL

2022-11-28 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I’m happy with this approach, it’s a little step forwards towards maintainable settings files. On Sun, 27 Nov 2022 at 20:37, 'Tobias McNulty' via Django developers (Contributions to Django itself) wrote: > Hi Raphael, > > Thanks for taking this on. > > Starting with a l

Re: rename internal SetPasswordForm.user into "instance" - or add it

2022-11-28 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ond > (optional) parameter named "instance"? The form could then just decide > in __init__ if (user|instance) is present, and save the one that is > present as self.user. > > This would ensure that the view could also call it with "instance", both > would work.

Re: Can we move the activity on this list to the Forum now?

2022-11-28 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Big +1 from me, I love the forum. It’s a lot more discoverable and powerful. On Mon, 28 Nov 2022 at 15:22, 'Tobias McNulty' via Django developers (Contributions to Django itself) wrote: > As someone who only just joined the forum -- I'm +1: > >- The forum has seen gr

Re: Can we move the activity on this list to the Forum now?

2022-11-28 Thread 'Kye Russell' via Django developers (Contributions to Django itself)
' via Django developers (Contributions to Django itself) , wrote: > As someone who only just joined the forum -- I'm +1: > > • The forum has seen great adoption from what I can tell (nearly half the > number of posts as django-developers during the same time period, not bad

Re: Integrate dj-database-url into Django

2022-11-29 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
.. Cheers, Tobias -- 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 an email to django-developers+unsubscr...@googlegrou

Re: #21978 include production-ready web server

2022-11-29 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
pattern. It's much more obvious to >> me if e.g. `MIDDLEWARE` is configured in a single location and not modified >> in other files. >> >> Thanks, >> Matthias >> >> >> >> -- You received this message because you are subscribed to the Goog

Re: Set a reasonable default for EMAIL_TIMEOUT

2022-11-29 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
tter than having no >>> timeout at all; especially because what the OP posted: >>> >>> > so at least if and when this happens, developers will find error >>> traces in the logs and quickly understand where the problem is coming from, >>> instead of spend

Re: Make Cookies in Django follow the RFC correctly

2022-12-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
; -- > 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 an > email to django-developers+unsubscr...@googlegroups.co

Re: django squashmigrations creating incorrect code?

2022-12-26 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
d 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 an > email to django-developers+unsubscr...@googlegroups.com. > To view this

Re: Updating profile image in django

2022-12-29 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
hone > user_profile_obj.address = address > user_profile_obj.save() > > user_obj.username = username > user_obj.email = email > user_obj.save() > user_obj.refresh_from_db() > > -- > You received this message because you are subscribed to the Goo

Re: Backport for ticket 34063?

2022-12-31 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
n > fact justified, and which anticipated and addressed several arguments > now being raised here. So I ask that people actually read and engage > with that in future replies. This is the bare minimum of respect and > good faith that can be expected of participants in discussions on thi

Re: get_manager short ut function proposal

2022-12-31 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Manager() > editors = EditorManager() >... > > The first is more readable and nicer .. yeah ? > Code is working and ready at github > <https://github.com/django/django/compare/main...RamezIssac:django:feature/get_manager_shortcut> > , > > Do i get +1(s) to m

Re: ticket 5929

2023-01-10 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
t;> >>> I think it would be a good thing for progress on this issue to happen. >>> >>> You might also want to check the ticket history for any work on >>> multi-value keys. >>> >>> -- >>> Curtis >>> >>> >>> -- > You

Re: Inconsistent pagination when sorting by non-unique columns (ticket 34251)

2023-01-11 Thread 'Barry Johnson' via Django developers (Contributions to Django itself)
responsibility to the front end. > > What do you folks think? I've been bitten by this issue several times, in > a production environment after smoothly running for a while. The first time > was a complete surprise to me, and I believe it's may surprise quite a lot > of

Re: Django t-shirt

2023-01-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
to the life, universe and everything, whether a new > t-shirt could be produced? > > Yours hopefully, > > Stephen > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsu

Re: Django accounting software.

2023-01-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
application can be referenced. > > -- > 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 an > email to django-develope

Re: Subparsers for management commands

2023-01-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Django knowledge so I'd question whether it's worthwhile. > > I'm happy to contribute if advised on the preferred option. > > Cheers > Mark > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Con

Re: Request for Guidance

2023-01-18 Thread '12_Gairick Dam' via Django developers (Contributions to Django itself)
y the Disclaimer Terms of  somaiya.edu <http://somaiya.edu> which may be viewed at  https://www.somaiya.edu/en/email-disclaimer <https://www.somaiya.edu/en/email-disclaimer> Finally, please do not print this email unless it is necessary. Every unprinted email helps the environment.

Re: Can we move the activity on this list to the Forum now?

2023-01-18 Thread 'Kye Russell' via Django developers (Contributions to Django itself)
ertainly don’t do the community > > > any favours in terms of getting more people on board. > > > > > > Kye > > > On 28 Nov 2022 at 11:40 PM +0800, 'Tobias McNulty' via Django developers > > > (Contributions to Django itself) , wrote: &

Re: New contributor

2023-01-21 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ribute. > Please assign me a task or issue. > > -- > 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 an >

Re: Proposal for an "Age" PostgreSQL ORM function

2023-01-21 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
an ORM age thingy, still think that a more >> general impl covering other vendors as well might be more helpful. >> >> Cheers, >> Jerch >> >> >> [*] Again speculative (TM) - I know that Daniele Varrazzo does a really >> great job in maintaining psycopg an

X-Forwarded-Prefix

2023-01-24 Thread 'Marc Perrin' via Django developers (Contributions to Django itself)
sure what would be the best / usual way for a user to customize HttpRequest (get_raw_uri, build_absolute_uri) to deal with it. Thanks, Marc -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubsc

Re: X-Forwarded-Prefix

2023-01-25 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
, **kwargs): value = func(*args, **kwargs) # change value appropriately return value return wrapper On Tue, Jan 24, 2023 at 9:58 PM 'Marc Perrin' via Django developers (Contributions to Django itself) wrote: > Hi, > I've been looking at the current su

Re: Can we move the activity on this list to the Forum now?

2023-01-26 Thread 'Alex Krupp' via Django developers (Contributions to Django itself)
will always be the "How do I start?" posts. The Forum at >> least has a pinned post for that. ... >> >> On Thu, 19 Jan 2023 at 01:04, 'Kye Russell' via Django developers >> (Contributions to Django itself) >> wrote: >> >> Hi all, >> >&g

Re: Multiple instances of DjangoAdmin share the same model LogEntry

2023-01-27 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
>> Another approach would be to move the functionality of method render >> into the class AdminSite. This would >> allow Django implementers to override the way, log entries are rendered. >> >> This would be a minimalistic change to the existing code base but would >&g

Async QuerySet with Prefetch

2023-02-10 Thread 'Barry Johnson' via Django developers (Contributions to Django itself)
uld think. https://forum.djangoproject.com/t/release-4-2a-async-querysets-with-prefetch-related/18767 baj -- 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 r

Re: Customizing authentication e autorization, with constant for models names User, Permission, Group, PermissionMixin and constant for field names and table name

2023-02-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
different database table name for Group, I’d say that would be grounds to implement your own Group model - which really isn’t much code. Thanks, Adam -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re:

2023-02-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
[permission_class] > return func(self, *args, **kwargs) > return decorated_func > return decorator > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe

Re: I would like to participate and contribute in your project

2023-02-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Thank you >> >> with regards >> Mohammed Shoaib S.T >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django developers (Contributions to Django it

Re: Model icons

2023-02-18 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
>> ... >> {{model.icon}} {{model.name}} >> ... >> >> Final result: >> [image: admin navbar.png] >> >> Maybe own icon could have even the parent app (AppConfig). And the model >> icon could be in breadcrumbs. >> >> What do you think abou

Re: Proposal: Extend db.models.functions.datetime.Now

2023-02-28 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ty must be strongly guaranteed, and I share the approach of > keeping it as minimal as possible. It is probably easier to override Now in > your project when needed but I would like to hear your feedback on this. > > -- > Matteo Vitali > https://trottomv.me > > -- > You r

Re: Need guidance for my first Open Source Contribution

2023-03-07 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
er. Can anyone help me for my first Open Source Contribution...? > > Thank you! > > Linktree: https://linktr.ee/siddhirajkolwankar > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)"

Re: Add a minimal Gitignore

2023-03-09 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
nores the environments, test files > > -- > 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 an > email to django-de

Re: Add a minimal Gitignore

2023-03-10 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
/vuejs/create-vue> generates one >>> >>> Perhaps it's time for Django to reconsider and catch up with the times? >>> >>> Cory >>> >>> >>> >>> >>> On Fri, Mar 10, 2023 at 7:03 AM Mariusz Felisiak >>> wrote: &g

Re: Exporting some of the `datetime` functions from `django.utils.timezone`

2023-03-20 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
the same as `datetime.datetime` > and that Django is definitely adding some magic here and I have to use > `datetime` from Django. This is of course not true. > > Best, > Mariusz > > -- > You received this message because you are subscribed to the Google Groups > "D

Re: Proposal: Check constraints at the model field level

2023-04-05 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
github.com/shangxiao/stupid-django-tricks/tree/master/column_check_constraints> >for some experimentation with this idea. > > > Cheers, > David > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions

Re: Proposal: Check constraints at the model field level

2023-04-05 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
> creating a new one. > > Initial -1 from me. > > Best, > Mariusz > > -- > 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 ema

Re: Stalebot on djangoproject.com issues

2023-04-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
;> to me, I think it is worth discussing it in a separate issue or on the >> developer mailing list." >> >> I remain of the opinion that continued attempts to automatically abandon >> valid issues are not helpful and do not reflect project maintenance best >>

Re: Implement Ruff Linter

2023-04-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
7;s the Configuration with all detected errors types ignored. > https://github.com/django/django/compare/main...obi-jerome:django:Ruff > > What do you think ? > Is it done the proper way ? > > -- > You received this message because you are subscribed to the Google Groups > "

Re: Fellow Reports - April 2023

2023-04-11 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Natalia. > > -- > 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 an > email to django-developers+

Re: Django "makemigrations -- update" donot working

2023-04-11 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
=11, >>> 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: Cann

Re: Deprecate CICharField, CIEmailField, CITextField

2023-04-12 Thread 'Johannes Maron' via Django developers (Contributions to Django itself)
s I'm aware you can use: > > CreateCollation("case_insensitive", "und-u-ks-level2", > provider="icu", deterministic=False) > > to create a case insensitive collation on PostgreSQL. > > -- You received this message because you are subscribed to the

Re: Production Django use and "real ip"

2023-04-14 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
oject.com/en/4.1/howto/deployment/ > > -- > 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 an > email to dj

Re: Deprecate CICharField, CIEmailField, CITextField

2023-04-14 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ase someone can create 3rd party package >> with them. >> >> Unless something is fundamentally broken I'm against reverting. >> >> Best, >> Mariusz >> >> -- >> You received this message because you are subscribed to the Google Groups >>

Re: Proposal: Constructing urls outside the request cycle

2023-04-16 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
what do you think about this > approach? Are there any other ideas or concerns? > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group an

Drop CSRF middleware from the settings template

2023-04-16 Thread 'Ryan Hiebert' via Django developers (Contributions to Django itself)
CSRF Middleware from the default settings template file? -- 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 an email

Re: Deprecate CICharField, CIEmailField, CITextField

2023-04-18 Thread 'Johannes Maron' via Django developers (Contributions to Django itself)
'Adam Johnson' via Django developers (Contributions to Django itself) wrote: > Just to note, for anyone that finds it useful, that I wrote a blog post on > migrating to collations: > https://adamj.eu/tech/2023/02/23/migrate-django-postgresql-ci-fields-case-insensitive-collation/ >

Re: Drop CSRF middleware from the settings template

2023-04-18 Thread 'Ryan Hiebert' via Django developers (Contributions to Django itself)
Lowering the barrier to entry is worth a lot. -- 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 an email to django-dev

Re: Production Django use and "real ip"

2023-04-19 Thread 'st...@jigsawtech.co.uk' via Django developers (Contributions to Django itself)
uld at >> least mention the need for the developer to handle this explicitly. >> >> Regards, >> Arthur P. >> >> >> >> [1] >> https://groups.google.com/g/django-developers/c/J5O28jB5D3Q/m/KLLgllFS7v0J >> [2] https://docs.djangoproject.com/e

Re: Production Django use and "real ip"

2023-04-20 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
;st...@jigsawtech.co.uk' via Django > developers (Contributions to Django itself) < > django-developers@googlegroups.com> wrote: > >> As someone whose worked on various projects in different languages over >> the last 15 years that heavily involved deciphering IP sent

Re: Drop CSRF middleware from the settings template

2023-05-05 Thread 'Ryan Hiebert' via Django developers (Contributions to Django itself)
;s likely some details I'm missing in laying out this scenario, but it felt interesting enough to mention in the context of this conversation. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.

Re: Deprecate CICharField, CIEmailField, CITextField

2023-05-06 Thread 'Johannes Maron' via Django developers (Contributions to Django itself)
eprecate support for the db type, a 3rd party package >> seems the bast choice for me. >> With the downside of me having to maintain yet another package. But I can >> understand if the Django project has no interest in maintenance. >> >> In any event, I opened a ticke

Re: Deprecate CICharField, CIEmailField, CITextField

2023-05-12 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ds like too specific a note to add. Many different data types in many different databases fail to work with some existing lookups, such as several custom fields in Django-MySQL: https://django-mysql.readthedocs.io/en/latest/model_fields/index.html On Sat, May 6, 2023 at 9:50 AM 'Johannes Maro

Re: Ticket #34555 ModelBase prevents addition of model Fields via __init_subclass__

2023-05-12 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ForeignKey(author_cls, > on_delete=models.CASCADE) > > class Author(models.Model): > name = models.CharField(max_length=256, unique=True) > > class Book(BaseBookModel, author_cls=Author): > pass > > -- > You received this message because you are subscribed to the Google Grou

Re: Conclusion of ticket #26761

2023-05-12 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
e fields (in the screenshot "Lokaler Zeitpunkt" and > "Bewertung"), but not the text below the values. > > May this be reconsidered? > > Best regards, > Carsten > > -- > You received this message because you are subscribed to the Google Groups > &qu

Re: Deprecate CICharField, CIEmailField, CITextField

2023-05-12 Thread 'Johannes Maron' via Django developers (Contributions to Django itself)
developers (Contributions to Django itself) wrote: > > 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 breaks (as it by default uses >> `icontain

Re: why this type error showing in my payment mode

2023-06-12 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
asy for them to answer. Thanks for your understanding and all the best, Adam On Sat, Jun 10, 2023 at 11:37 AM Atul Tiwari wrote: > solve this > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django it

Re: Deploying Django under a sub-path

2023-06-23 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
work. >>> >>> Shouldn't this be a complete feature? >>> >>> I've re-checked https://docs.djangoproject.com/en/4.2/howto/deployment/ >>> and there's no information on the topic (that I could find). >>> >>> Arthu

Re: Ticket #34555 ModelBase prevents addition of model Fields via __init_subclass__

2023-06-28 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
lass to customise class creation, hence this PR. >>>> >>>> Hope that makes sense and appreciate any feedback. Thanks! >>>> >>>> >>>> class BaseBookModel(models.Model): >>>> class Meta: >>>> abstract = True >>

Re: Password reset link is not displayed by default

2023-07-24 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
x27;management/', include('apps.management.urls')), > > # native admin URLs > path('', admin.site.urls), # must be last if admin URL is empty! > ] > > Notice that I had to add the extra > > *path('accounts/password_reset/', Pass

Re: Ticket #34555 ModelBase prevents addition of model Fields via __init_subclass__

2023-07-24 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
in/docs/ref/models/class.txt > - https://github.com/django/django/blob/main/docs/topics/db/models.txt - > perhaps within a new subheading in the Model inheritance section? > > Once confirmed I'll amend the PR > > Thanks > > > On Wed, 28 Jun 2023 at 10:28, 'Adam

Re: Adding "reason" to django.shortcuts.redirect

2023-08-07 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
e > the kwarg `reason` > > which is extremely minimal risk, and should be anyway easily detected > through already present testing > > Do I have go ahead to propose a PR? > > -- > You received this message because you are subscribed to the Google Groups > "Django

Re: Adding "reason" to django.shortcuts.redirect

2023-08-07 Thread 'Lily Foote' via Django developers (Contributions to Django itself)
://proton.me/) secure email. --- Original Message --- On Monday, August 7th, 2023 at 14:09, 'Adam Johnson' via Django developers (Contributions to Django itself) wrote: > This sounds reasonable, but unfortunately, it's backwards incompatible and so > we cannot ma

Re: Disabling dark / light mode UI toggle

2023-08-07 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
le, so I suggest that an *AdminSite.ui_toggle* (or the like) boolean >> be added. What do you think? > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe fr

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)
2000 :-) >> >> Anyway, tornado to talk about Database, SQL Server is a third-party package >> >>>> I, therefore, suggest that we start a discussion on removing Oracle from >>>> supported databases. >>> This was already discussed. I'm still s

Re: Disabling dark / light mode UI toggle

2023-08-10 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
the admin theme, and that >>>>>> is >>>>>> if I heavily customized it. I haven't found a way to disable that >>>>>> specific >>>>>> toggle, so I suggest that an *AdminSite.ui_toggle* (or the like) >>>>

Re: How to get started with contributions

2023-08-15 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
this journey would be a tremendous help. > > I'm excited about the potential to collaborate and contribute. Thank you > for considering my inquiry. > > Warm regards, > > Nikita Bansal > > -- > You received this message because you are subscribed to the Google Gro

Re: Sync and Async versions of the same function: guidelines for contributors

2023-08-16 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
temporary solution to provide an > async interface when we don't have all async elements ready. > > Best, > Mariusz > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. >

Re: Deprecate CICharField, CIEmailField, CITextField

2023-09-06 Thread 'Johannes Maron' via Django developers (Contributions to Django itself)
PR to alter the documentation, to point > towards this option. This should allow users to choose, and will probably > easy migration to Django 5 for some. > > But first, I gotta play Tears of the Kindom…. > > Cheers! > Joe > > > On Fri, May 12, 2023 at 1:37 PM 'Ad

Re: Looking for a code that separates fields while applying migrations

2023-10-02 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
re of that. Some help would be great! > > > -- > 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 an > ema

Re: Link to alternative Python resource

2023-10-09 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
hon. > > It's not technical, but something that I noticed along the way. > > What do you folks think? Do you have any recommendations? > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Django developer

Re: Pertaining the 4.2.6 release's "recreate indexes" footnote

2023-10-12 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
> Best, > Mariusz > > > -- > 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 an > email to django-

Re: HELP needed in a Reactjs Django project

2023-10-13 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
n >> detail >> https://stackoverflow.com/questions/77280149/not-able-to-upload-file-to-django-server-from-service-worker-in-react-js >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django developers (

Re: Question about support dates

2023-10-25 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ions scheduling updates. > > Thanks for considering this, and for the awesome work on making Django better > and better! > > Warm regards, > Wim > > > > -- > You received this message because you are subscribed to the Google Groups > "Django developer

Re: Testing Unmanaged Models - Using the SchemaEditor to create db tables

2024-02-09 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
f.stop() > > klass.setUpClass = setUpClass > klass.tearDownClass = tearDownClass > > return klass > > def decorate_callable(self, callable_obj): > @functools.wraps(callable_obj) > def wrapper(*args, **kwargs): >

Re: New feature request - Run only a random subset of tests.

2024-02-12 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ted tests >> >> Ah well, just some quick thoughts on that... >> >> Cheers, >> Jörg >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django developers (Contributions to Django itself)" gr

Re: Proposal for SyncChatRoom Integration in Django

2024-02-13 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ok forward to hearing > your thoughts and suggestions. Let's discuss how we can make Django even more > powerful in the realm of real-time communication! > > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (

Re: Deprecate CICharField, CIEmailField, CITextField

2024-02-22 Thread 'Johannes Maron' via Django developers (Contributions to Django itself)
;>>> If you have any other pointers, feel free to leave an issue report. >>>> >>>> Thanks! >>>> Joe >>>> >>>> >>>> On Fri, May 12, 2023 at 5:19 PM Johannes Maron >>>> wrote: >>>> >>>&g

Re: Use of TIME_INPUT_FORMATS in TimeField

2024-03-05 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
False" settings.TIME_INPUT_FORMATS seems to be >>> ignored. >>> >>> How does one use settings.TIME_INPUT_FORMATS ? >>> >>> Arthur Pemberton >>> >>> >>> -- >>> You received this message because you are sub

Intermittent IntegrityError on Model Save with auto_now and auto_now_add Fields

2024-03-17 Thread 'William Palin' via Django developers (Contributions to Django itself)
similar issues, or knowledge of potential Django nuances that we might not be considering would be incredibly valuable. We appreciate your time and any feedback or suggestions you can offer. Thanks Bill django v5.0.2 python 3.12.2 db is postgres -- You received this message be

RE: Intermittent IntegrityError on Model Save with auto_now and auto_now_add Fields

2024-03-18 Thread 'Matthew Pava' via Django developers (Contributions to Django itself)
auto_now_add fields. From: 'William Palin' via Django developers (Contributions to Django itself) Sent: Sunday, March 17, 2024 9:59 AM To: Django developers (Contributions to Django itself) Subject: Intermittent IntegrityError on Model Save with auto_now and auto_now_add Fields He

Re: Intermittent IntegrityError on Model Save with auto_now and auto_now_add Fields

2024-03-25 Thread 'Michael Lissner' via Django developers (Contributions to Django itself)
sue > between auto_now and auto_now_add fields. > > > > *From:* 'William Palin' via Django developers (Contributions to Django > itself) > *Sent:* Sunday, March 17, 2024 9:59 AM > *To:* Django developers (Contributions to Django itself) < > django-d...@goo

Should Django use Ada?

2024-04-01 Thread 'Michael Lissner' via Django developers (Contributions to Django itself)
difficult to parse properly. -- 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 an email to django-developers+unsubscr...@googlegroups.co

Re: Should Django use Ada?

2024-04-02 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
o:django-developers%2bunsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/726fce28-2273-4672-8e00-f8619b95b0d9%40netzkolchose.de. > -- You received this message because you are subscribed to the Google Groups &q

Re: Should Django use Ada?

2024-04-02 Thread 'Michael Lissner' via Django developers (Contributions to Django itself)
x27;re on your way, but I'm here trying to help, and I've got a record of doing so here and elsewhere in various ways. Sorry to others here for the off topic response. Though I probably should, I can't let that kind of comment go in the Django discussion group. Thank y

Re: Proposal to upgrade django.core.mail to Python's modern email API

2024-06-25 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
tibility (for API users):* django.core.mail largely >>>> insulates callers from the underlying Python email package. There are a >>>> few places where this leaks (e.g., attachments >>>> <https://docs.djangoproject.com/en/5.0/topics/email/#django.core.mail.E

Re: Proposal to upgrade django.core.mail to Python's modern email API

2024-07-21 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
<https://github.com/nekonaq/djangoexpack/blob/6ad39bb305cbac7cafbbc323a9db21830f69b811/djangoexpack/mail/__init__.py#L34> >>>• Proposal: remove without deprecation >>> • *ADDRESS_HEADERS* is not documented, not exposed in django.core.mail >>>• Used to implem

Re: Django 5.1 - LoginRequiredMiddleware

2024-08-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
י > u...@speedy.net > > > -- > 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 an > email to django

Re: Django 5.1 - LoginRequiredMiddleware

2024-08-07 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ware would ever become a default-enabled middleware, >> since people would probably be upset about suddenly having their sites >> login-walled by a Django upgrade. > > OK, I understand. Thank you. I read the documentation but I misunderstood and > thought that LoginRequired

Re: Celery Working Limitations Updates

2024-08-22 Thread 'Ken Whitesell' via Django developers (Contributions to Django itself)
to make celery working again on windows so that the developers can use it effeciently and produces more productivity Regards -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this

Re: Django Firebird driver update for Django 5.0

2024-08-26 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
ps://firebirdsql.org/en/community-news/django-firebird-driver-update-for-django-5/ > > > -- > 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

<    1   2   3   4   5   6   >