Re: RSS access to Google groups?

2021-08-13 Thread Claude Paroz
So according to my experience and confirmed by 
https://discourse.mozilla.org/t/how-do-i-use-discourse-via-email/15279, 
mailing list mode is not really an option, unless you want to triage 
interesting email by mail client filters.


I'm trying now different combinations of preferences, but if anyone has 
something to share about those settings, it would be welcome.


Claude

Le 13.08.21 à 22:53, Claude Paroz a écrit :
So I activated mailing list mode, and chose i18n/geodjango in the watch 
list. I'm still receiving all forum messages by email, which is 
evidently not an option. If I have to manually mute/exclude all other 
categories, it will not be very practical either, as I would have to do 
it again each time new topics appear. Any other "magical" solution ?


Le vendredi 13 août 2021 à 18:57:16 UTC+2, carlton...@gmail.com a écrit :

Hey Claude.

Here:

https://forum.djangoproject.com/my/preferences/categories


You can set to watch particular categories (or just first posts in a
thread or … )

C.


On 13 Aug 2021, at 18:24, Claude Paroz  wrote:

A question received privately: imagine someone wants to follow the
Internationalization topic by email, is it possible and how? There
is a Mailing list mode in the forum prefs, but then I guess that
this will send messages from all forum topics.


--
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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/7a7909f9-bc77-fed6-d1be-9d9cde2eced0%402xlibre.net.


Re: RSS access to Google groups?

2021-08-13 Thread Claude Paroz
So I activated mailing list mode, and chose i18n/geodjango in the watch 
list. I'm still receiving all forum messages by email, which is evidently 
not an option. If I have to manually mute/exclude all other categories, it 
will not be very practical either, as I would have to do it again each time 
new topics appear. Any other "magical" solution ? 

Le vendredi 13 août 2021 à 18:57:16 UTC+2, carlton...@gmail.com a écrit :

> Hey Claude. 
>
> Here: 
>
> https://forum.djangoproject.com/my/preferences/categories
>
> You can set to watch particular categories (or just first posts in a 
> thread or … ) 
>
> C. 
>
> On 13 Aug 2021, at 18:24, Claude Paroz  wrote:
>
> A question received privately: imagine someone wants to follow the 
> Internationalization topic by email, is it possible and how? There is a 
> Mailing list mode in the forum prefs, but then I guess that this will send 
> messages from all forum topics.
>
> -- 
> 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-develop...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/d9fb0ba1-3dd9-47d9-9fb6-5cd1a633788cn%40googlegroups.com
>  
> 
> .
>
>
>

-- 
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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/5464cff4-d6ef-4b35-851c-e081359b4738n%40googlegroups.com.


Re: RSS access to Google groups?

2021-08-13 Thread Carlton Gibson
Hey Claude. 

Here: 

https://forum.djangoproject.com/my/preferences/categories

You can set to watch particular categories (or just first posts in a thread or 
… ) 

C. 

> On 13 Aug 2021, at 18:24, Claude Paroz  wrote:
> 
> A question received privately: imagine someone wants to follow the 
> Internationalization topic by email, is it possible and how? There is a 
> Mailing list mode in the forum prefs, but then I guess that this will send 
> messages from all forum topics.
> 
> -- 
> 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.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/d9fb0ba1-3dd9-47d9-9fb6-5cd1a633788cn%40googlegroups.com
>  
> .

-- 
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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/E3985876-B639-4598-B55D-CEF92B8E309E%40gmail.com.


Re: RSS access to Google groups?

2021-08-13 Thread Claude Paroz
A question received privately: imagine someone wants to follow the 
Internationalization topic by email, is it possible and how? There is a 
Mailing list mode in the forum prefs, but then I guess that this will send 
messages from all forum topics.

-- 
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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/d9fb0ba1-3dd9-47d9-9fb6-5cd1a633788cn%40googlegroups.com.


Re: Removal of USE_L10N setting

2021-08-13 Thread אורי
In my project USE_L10N = True and USE_I18N = True since the
beginning (2016).
אורי
u...@speedy.net


On Fri, Aug 13, 2021 at 4:47 PM Claude Paroz  wrote:

> I don't think I've ever set USE_L10N to True, and I've been using
>> Django in production since 0.96.
>>
>
> What would be most interesting to know is whether setting USE_L10N to True
> would cause issues in your projects.
>
> Claude
>
> --
> 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.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/7da3ed2b-8d31-4c9e-9423-c8eac33f93cfn%40googlegroups.com
> 
> .
>

-- 
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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CABD5YeEbno%2BhWnmip92qLD-KLuz9GG61aGO0cWvDBtzba-vGCA%40mail.gmail.com.


Re: Removal of USE_L10N setting

2021-08-13 Thread Claude Paroz

>
> I don't think I've ever set USE_L10N to True, and I've been using 
> Django in production since 0.96. 
>

What would be most interesting to know is whether setting USE_L10N to True 
would cause issues in your projects.

Claude

-- 
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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/7da3ed2b-8d31-4c9e-9423-c8eac33f93cfn%40googlegroups.com.


Re: Do people actually squash migrations?

2021-08-13 Thread Shai Berger
On Wed, 12 May 2021 09:37:53 -0700 (PDT)
"'Mike Lissner' via Django developers  (Contributions to Django
itself)"  wrote:

> 
> I haven't done the manual approach but I imagine it's something like:
> 
> 1. Check your migrations across all apps with interdependencies for 
> RunPython or RunSQL code.
> 2. If found, make a decision about keeping or deleting that code.
> 3. Delete all migrations across all apps that have interdependencies.
> 4. Run the makemigrations command
> 5. Add your custom RunPython or RunSQL code back
> 

I've tried it. In my experience, it isn't as easy as described either.

When you have circular dependencies between the migration of apps, in
many (most?) cases it means you also have circular dependencies between
the models (FKs etc going in both directions). When that happens,
makemigrations from scratch doesn't do the right thing either --
basically, you need to recreate the interdependencies by having each
app's models created in two steps: One for the "core" of  the models,
so they all exist, and one for the relations, which can only be added
once all the referenced models are present.

The makemigrations command will only add one migration per app, and so
it cannot do this. I haven't tried this in a while, so I don't remember
if the command actually fails, or just produces non-working migrations
which you then need to edit by hand.

This all ties in to a discussion we had on the forum, about the
separation to apps in large projects (linking to my own post there, but
the whole discussion is worth a read if you haven't):
https://forum.djangoproject.com/t/why-do-we-need-apps/827/20

Have fun,
Shai.

-- 
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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/20210813095124.33be923d.shai%40platonix.com.