Re: Add feature request for django permissions.

2021-06-12 Thread wael muhammed
 ? What is yours opinion could I make a pull request 

في السبت، 12 يونيو 2021 في تمام الساعة 9:40:48 ص UTC+3، كتب ‪wael 
muhammed‬‏ رسالة نصها:

>
> could this 
> 
>  
> want feature request.
>

-- 
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/4971f2be-059b-46ec-a3fa-e1feb877a211n%40googlegroups.com.


Re: Add feature request for django permissions.

2021-06-12 Thread wael muhammed
?Did any one understands me

في السبت، 12 يونيو 2021 في تمام الساعة 11:27:39 ص UTC+3، كتب ‪wael 
muhammed‬‏ رسالة نصها:

>  ? What is yours opinion could I make a pull request 
>
> في السبت، 12 يونيو 2021 في تمام الساعة 9:40:48 ص UTC+3، كتب ‪wael 
> muhammed‬‏ رسالة نصها:
>
>>
>> could this 
>> 
>>  
>> want feature request.
>>
>

-- 
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/34e5b0d5-c4aa-4f77-ba94-d96a35fe992en%40googlegroups.com.


Re: Add feature request for django permissions.

2021-06-12 Thread Ken Whitesell

Yes, I understand you.

Please keep in mind that depending on time zone and day-of-week, not 
everyone is up early on a Saturday morning to reply to the mailing list. 
A proper response may take a while as people read & understand what you 
wrote.


While I'm not a Django developer (in the context of this mailing list), 
I'll offer an opinion here that I don't think what you're looking for is 
worth adding into Django core.


Handling row-level security is very much a per-project issue - I don't 
think I've ever worked on two systems having the same requirements.


There are a number of different packages available, such as Django 
guardian, that can help. However, the details of using such packages 
doesn't belong in _this_ mailing list. I believe such a discussion would 
be more appropriate for Django users.


Ken Whitesell


On 6/12/2021 7:30 AM, wael muhammed wrote:

?Did any one understands me

في السبت، 12 يونيو 2021 في تمام الساعة 11:27:39 ص UTC+3، كتب ‪wael 
muhammed‬‏ رسالة نصها:


 ? What is yours opinion could I make a pull request

في السبت، 12 يونيو 2021 في تمام الساعة 9:40:48 ص UTC+3، كتب ‪wael
muhammed‬‏ رسالة نصها:


could this


want feature request.

--
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/34e5b0d5-c4aa-4f77-ba94-d96a35fe992en%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/654160af-bc53-fcdc-ef87-356af3865f03%40comcast.net.


Re: Removal of USE_L10N setting

2021-06-12 Thread René Fleschenberg
Hi,

On 6/11/21 6:50 PM, Claude Paroz wrote:
> As usual, the main drawback is backwards compatibility. The possibly
> affected projects are those having USE_L10N = False, along with multiple
> LANGUAGES.
> 
> Is this a good idea?
> I would also like to get opinions here about the compatibility issues.
> Are they acceptable?
> Is there a possible deprecation path?

I have run into bugs because template authors forgot to unlocalize
values, in particular database IDs. These bugs often go unnoticed for
quite a while because they only show up once you reach 1000 database
rows. Forgetting to localize a value would typically be a much more
obvious bug.

So far, I have always fixed these issues by adding the unlocalize
filter, though I did ponder using USE_L10N = False in the past. I don't
know how many projects there are in the wild that go with USE_L10N = False.

Personally, I believe removing the setting and **not** localizing values
unless explicitly requested would be the best option in the long run.
But I guess that would create much bigger compatibility issues.

Overall, I'm +0 on this.

-- 
René

-- 
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/a3b281a1-a7c0-73b8-6d7d-6e89c7d8e50a%40fleschenberg.net.


Re: Removal of USE_L10N setting

2021-06-12 Thread René Fleschenberg
Hi,

On 6/11/21 6:50 PM, Claude Paroz wrote:
> Is there a possible deprecation path?

Maybe add a system check that warns if the setting is still present?

-- 
René

-- 
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/fad2c246-f32f-6f97-d459-659b724d5abf%40fleschenberg.net.


Re: Add feature request for django permissions.

2021-06-12 Thread wael muhammed
.Ok thanks @ken I will work with your advice

في السبت، 12 يونيو 2021 في تمام الساعة 2:38:25 م UTC+3، كتب 
kenwhi...@comcast.net رسالة نصها:

> Yes, I understand you.
>
> Please keep in mind that depending on time zone and day-of-week, not 
> everyone is up early on a Saturday morning to reply to the mailing list. A 
> proper response may take a while as people read & understand what you wrote.
>
> While I'm not a Django developer (in the context of this mailing list), 
> I'll offer an opinion here that I don't think what you're looking for is 
> worth adding into Django core.
>
> Handling row-level security is very much a per-project issue - I don't 
> think I've ever worked on two systems having the same requirements.
>
> There are a number of different packages available, such as Django 
> guardian, that can help. However, the details of using such packages 
> doesn't belong in _this_ mailing list. I believe such a discussion would be 
> more appropriate for Django users.
>
> Ken Whitesell
>
>
> On 6/12/2021 7:30 AM, wael muhammed wrote:
>
> ?Did any one understands me
>
> في السبت، 12 يونيو 2021 في تمام الساعة 11:27:39 ص UTC+3، كتب ‪wael 
> muhammed‬‏ رسالة نصها:
>
>>  ? What is yours opinion could I make a pull request 
>>
>> في السبت، 12 يونيو 2021 في تمام الساعة 9:40:48 ص UTC+3، كتب ‪wael 
>> muhammed‬‏ رسالة نصها:
>>
>>>
>>> could this 
>>> 
>>>  
>>> want feature request.
>>>
>> -- 
> 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/34e5b0d5-c4aa-4f77-ba94-d96a35fe992en%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/9504de94-af31-4ca9-9ef2-6eadafb88e3fn%40googlegroups.com.