Re: Do people actually squash migrations?

2021-08-11 Thread Hanne Moa
On Wed, 12 May 2021 at 18:40, 'Mike Lissner' via Django developers
(Contributions to Django itself) 
wrote:
> Oh, I guess there's also a step in the manual process to reset the migrations 
> table in the DB, but I don't know how to do that. Tricky stuff!

I've made a management command for that: resetmigrationhistory, which
nukes just the migrations of *my* apps. Then I run migrate --fake
manually afterwards.

I squash as part of any major release (semver). Rewrite them a lot by
hand to get rid of any datamigrations and have lots of extra
mini-releseas to make sure everything works etc.

There's https://github.com/kingbuzzman/django-squash, which I have
considered using, their "elidable" concept is very good.


HM

-- 
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/CACQ%3DrreMp%2Bp%3D0FLVwoExv%3D8FB03Yo5NQg5Y0Oz2ev12QTbSBCQ%40mail.gmail.com.


Re: Removal of USE_L10N setting

2021-08-11 Thread Hanne Moa
On Tue, 15 Jun 2021 at 12:25, Carlton Gibson  wrote:
> I have to say, I never once set `USE_L10N = False` — I don't imagine many
> people do, but my only concern would be whole swaths of folks that depend on
> this… — do such exist in numbers? 樂

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


HM

-- 
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/CACQ%3DrrfeMzhjEg9bFUrgsCYtUKcecwV6TYLhcB_bGryAd%3DTR8g%40mail.gmail.com.


Re: Errors

2021-08-11 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Please take this conversation elsewhere as per my previous post.

On Wed, 11 Aug 2021 at 13:33, Umar Farooq 
wrote:

> Sorry code screenshots
>
> On Wed, 11 Aug 2021, 5:27 PM Rana Zain,  wrote:
>
>> Okay I am sending screenshot.[image: erroits.PNG]
>>
>> On Tuesday, August 10, 2021 at 6:26:42 PM UTC+5 Adam Johnson wrote:
>>
>>> 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 are unlikely
>>> to answer your support query with their limited time and energy.
>>>
>>> For support, please follow the "Getting Help" page:
>>> https://docs.djangoproject.com/en/3.2/faq/help/ . This will help you
>>> find people who are willing to support you, and to ask your question in a
>>> way that makes it easy for them to answer.
>>>
>>> Thanks for your understanding and all the best,
>>>
>>> Adam
>>>
>>> On Tue, 10 Aug 2021 at 13:05, Rana Zain  wrote:
>>>
 I am facing this errors :

 > ',' or ')' expected
 > Unexpected indent
 > Statement expected, found Py:DEDENT

 for the last 2,3 days. Kindly help me out.

 --

>>> 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/89e0b61f-25c5-4438-9a7d-20ffb0de82fen%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/fa42e3bf-a965-4c57-885f-383a75b1c86cn%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/CAPpmBN_UP1nyz-Xig_LWnVwwHJFmUJxc4N22DnYF-GXuaiLjOw%40mail.gmail.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/CAMyDDM3o9RkNHaFffVLLr0kA70kCCwYFLQrcYbcWGA%2BrHxD2rw%40mail.gmail.com.


Re: Errors

2021-08-11 Thread Kye Russell
As Adam has stated, this is not a forum to discuss issues with your code. 
Please see the links in his reply. 

Kye

> On 11 Aug 2021, at 8:35 pm, Umar Farooq  wrote:
> 
> 
> Sorry code screenshots
> 
>> On Wed, 11 Aug 2021, 5:27 PM Rana Zain,  wrote:
>> Okay I am sending screenshot.
>> 
>> 
>> 
>>> On Tuesday, August 10, 2021 at 6:26:42 PM UTC+5 Adam Johnson wrote:
>>> 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 are unlikely 
>>> to answer your support query with their limited time and energy.
>>> 
>>> For support, please follow the "Getting Help" page: 
>>> https://docs.djangoproject.com/en/3.2/faq/help/ . This will help you find 
>>> people who are willing to support you, and to ask your question in a way 
>>> that makes it easy for them to answer.
>>> 
>>> Thanks for your understanding and all the best,
>>> 
>>> Adam
>>> 
 On Tue, 10 Aug 2021 at 13:05, Rana Zain  wrote:
 I am facing this errors :
 
 > ',' or ')' expected
 > Unexpected indent
 > Statement expected, found Py:DEDENT
 
 for the last 2,3 days. Kindly help me out.
>>> 
 -- 
>>> 
 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/89e0b61f-25c5-4438-9a7d-20ffb0de82fen%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/fa42e3bf-a965-4c57-885f-383a75b1c86cn%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/CAPpmBN_UP1nyz-Xig_LWnVwwHJFmUJxc4N22DnYF-GXuaiLjOw%40mail.gmail.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/373D10F8-6811-4884-9D51-7F01CAC82AC5%40kye.id.au.


Re: Errors

2021-08-11 Thread Umar Farooq
Sorry code screenshots

On Wed, 11 Aug 2021, 5:27 PM Rana Zain,  wrote:

> Okay I am sending screenshot.[image: erroits.PNG]
>
> On Tuesday, August 10, 2021 at 6:26:42 PM UTC+5 Adam Johnson wrote:
>
>> 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 are unlikely
>> to answer your support query with their limited time and energy.
>>
>> For support, please follow the "Getting Help" page:
>> https://docs.djangoproject.com/en/3.2/faq/help/ . This will help you
>> find people who are willing to support you, and to ask your question in a
>> way that makes it easy for them to answer.
>>
>> Thanks for your understanding and all the best,
>>
>> Adam
>>
>> On Tue, 10 Aug 2021 at 13:05, Rana Zain  wrote:
>>
>>> I am facing this errors :
>>>
>>> > ',' or ')' expected
>>> > Unexpected indent
>>> > Statement expected, found Py:DEDENT
>>>
>>> for the last 2,3 days. Kindly help me out.
>>>
>>> --
>>>
>> 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/89e0b61f-25c5-4438-9a7d-20ffb0de82fen%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/fa42e3bf-a965-4c57-885f-383a75b1c86cn%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/CAPpmBN_UP1nyz-Xig_LWnVwwHJFmUJxc4N22DnYF-GXuaiLjOw%40mail.gmail.com.


Re: Errors

2021-08-11 Thread Rana Zain
Okay I am sending screenshot.[image: erroits.PNG]

On Tuesday, August 10, 2021 at 6:26:42 PM UTC+5 Adam Johnson wrote:

> 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 are unlikely 
> to answer your support query with their limited time and energy.
>
> For support, please follow the "Getting Help" page: 
> https://docs.djangoproject.com/en/3.2/faq/help/ . This will help you find 
> people who are willing to support you, and to ask your question in a way 
> that makes it easy for them to answer.
>
> Thanks for your understanding and all the best,
>
> Adam
>
> On Tue, 10 Aug 2021 at 13:05, Rana Zain  wrote:
>
>> I am facing this errors :
>>
>> > ',' or ')' expected
>> > Unexpected indent
>> > Statement expected, found Py:DEDENT
>>
>> for the last 2,3 days. Kindly help me out.
>>
>> -- 
>>
> 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/89e0b61f-25c5-4438-9a7d-20ffb0de82fen%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/fa42e3bf-a965-4c57-885f-383a75b1c86cn%40googlegroups.com.