Issue in admin and sites

2023-05-02 Thread Mohamed El-Kalioby
Hello everyone,


I’ve opened this issue on the issue tracker, and was asked to post here for
the sake of discussion.

In SaaS product, we have set of organizations (customers), each
organization is working under its own subdomain under the SaaS domain, and
each is completely independent. Each organization will have a super user
who shall have access to the Django admin to edit their organization
objects. Currently, Django admin only shows the objects which belong to the
SITE_ID even with setting the default_manager to the current_site manager
and enabling the sites middleware.

I think this behavior is misleading and Django admin shall support sites
app, so what do you think?

Best regards
Mohamed ElKalioby

>

-- 
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/CAFJxxNcteC-sA5%3Db1JCjMg4bAOgNsd%3DHrzwb152SjOhnZQRC4g%40mail.gmail.com.


Re: Issue in admin and sites

2023-05-02 Thread אורי
Can you link to the ticket?
אורי
u...@speedy.net


On Tue, May 2, 2023 at 5:28 PM Mohamed El-Kalioby 
wrote:

> Hello everyone,
>
>
> I’ve opened this issue on the issue tracker, and was asked to post here
> for the sake of discussion.
>
> In SaaS product, we have set of organizations (customers), each
> organization is working under its own subdomain under the SaaS domain, and
> each is completely independent. Each organization will have a super user
> who shall have access to the Django admin to edit their organization
> objects. Currently, Django admin only shows the objects which belong to the
> SITE_ID even with setting the default_manager to the current_site manager
> and enabling the sites middleware.
>
> I think this behavior is misleading and Django admin shall support sites
> app, so what do you think?
>
> Best regards
> Mohamed ElKalioby
>
>> --
> 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/CAFJxxNcteC-sA5%3Db1JCjMg4bAOgNsd%3DHrzwb152SjOhnZQRC4g%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/CABD5YeH34ivmtsf0Lm4WLkGcsRnL6GNDAKXZEJBMYhwdc-UudA%40mail.gmail.com.


Re: Issue in admin and sites

2023-05-02 Thread Mohamed El-Kalioby
Here it is

https://code.djangoproject.com/ticket/34526

On Tue, 2 May 2023, 18:32 אורי,  wrote:

> Can you link to the ticket?
> אורי
> u...@speedy.net
>
>
> On Tue, May 2, 2023 at 5:28 PM Mohamed El-Kalioby 
> wrote:
>
>> Hello everyone,
>>
>>
>> I’ve opened this issue on the issue tracker, and was asked to post here
>> for the sake of discussion.
>>
>> In SaaS product, we have set of organizations (customers), each
>> organization is working under its own subdomain under the SaaS domain, and
>> each is completely independent. Each organization will have a super user
>> who shall have access to the Django admin to edit their organization
>> objects. Currently, Django admin only shows the objects which belong to the
>> SITE_ID even with setting the default_manager to the current_site manager
>> and enabling the sites middleware.
>>
>> I think this behavior is misleading and Django admin shall support sites
>> app, so what do you think?
>>
>> Best regards
>> Mohamed ElKalioby
>>
>>> --
>> 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/CAFJxxNcteC-sA5%3Db1JCjMg4bAOgNsd%3DHrzwb152SjOhnZQRC4g%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/CABD5YeH34ivmtsf0Lm4WLkGcsRnL6GNDAKXZEJBMYhwdc-UudA%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/CAFJxxNeDDS5Pm43GPy8ogOM-Z%3Dd%3DiBF4vVYx6SWYZ%2B5rB0f5-g%40mail.gmail.com.


Re: Fellow Reports - April 2023

2023-05-02 Thread Natalia Bidart
Week ending 2023-04-30 (Week 18)

Triaged:
  https://code.djangoproject.com/ticket/34523 - update_or_create not work
in parallel insertion
  https://code.djangoproject.com/ticket/34520 - ModelAdmin.fields: wrapping
in tuples does not have any effect (each field on separate line) (invalid)
  https://code.djangoproject.com/ticket/34525 - index_together warning
after migration to new style (accepted)

Landed:
  https://github.com/django/django/pull/16757 - Fixed #34481 -- Added
checks for reverse related fields in admin's list_display
  https://github.com/django/django/pull/16808 - Restored multiprocessing
concurrency on coverage.py settings

Reviewed:
  https://github.com/django/django/pull/16777 - Fixed #12780 -- Added
compound form/formset validation in ModelAdmin
  https://github.com/django/django/pull/16798 - fix: correct 'decade'
computation
  https://github.com/django/django/pull/16797 - Fixed #34515 -- Updated to
redirect to request language when from translated default url.
  https://github.com/django/django/pull/16804 - Avoided creating default
form fields in fields_for_model() when declared on form.
  https://github.com/django/django/pull/16808 - Restored multiprocessing
concurrency on coverage.py settings #16808

PR Cleanup:
  https://github.com/django/django/pull/14499 - Improve accuracy of
NullBooleanField deprecation warning hint.
  https://github.com/django/django/pull/14408 - Fixed #32827 -- Adjusted
docs on squashing migrations.
  https://github.com/django/django/pull/14082 - docs/ref/databases:
rephrase persistent connections section
  https://github.com/django/django/pull/13169 - Add field_name to the
non-existing readonly_fields error
  https://github.com/django/django/pull/12712 - Fix #27060: Add indexes
identified in constraints to Meta.indexes

Other/Misc:
  Google Summer of Code final review and ranking.
  DjangoCon US travel preparation.
  Deep-dive in the translations framework to assist with the release
blocker https://code.djangoproject.com/ticket/34515

Cheers! Natalia.

On Mon, Apr 24, 2023 at 9:12 AM Natalia Bidart 
wrote:

> Week ending 2023-04-23 (Week 17)
>
> Triaged:
>   https://code.djangoproject.com/ticket/34506 - Visual regressions in
> admin's clearable file input. (accepted)
>   https://code.djangoproject.com/ticket/34507 - AttributeError: Can't
> pickle local object 'convert_exception_to_response..inner'
> (needsinfo)
>
> Reviewed:
>   https://github.com/django/django/pull/16771 - Added
> RemovedInDjangoXXWarning comments to the deprecating a feature docs.
>   https://github.com/django/django/pull/16784 - Added meaningful titles
> to ..admonition:: directives.
>   https://github.com/django/django/pull/16757 - Fixed #34481 -- Added
> checks for reverse related fields in admin's list_display
>   https://github.com/django/django/pull/16636/ - Fixed #34391 -- Added
> async interface to auth (lots of interesting things to read around this!)
>   https://github.com/django/django/pull/14257 - Made SimpleTestCase
> client attributes cached properties.
>
> PR Housekeeping:
>   https://github.com/django/django/pull/7161 - Fixed #25594 -- Propagated
> validators from model to form fields (closed)
>   https://github.com/django/django/pull/8435 - Optimized
> ModelAdmin.changelist_view if actions are not used (closed)
>   https://github.com/django/django/pull/8848 - Allowed (partial) indexes
> for text fields on MySQL (closed)
>   https://github.com/django/django/pull/10708 - Form field label i18n
> performances fixes (closed)
>   https://github.com/django/django/pull/10349 - Fixed #29717 -- Allowed
> tests to use an existing empty database. (closed)
>   https://github.com/django/django/pull/10951 - WIP #30149 -- Empty value
> selected check in Admin Filter prevents subclassing (closed)
>   https://github.com/django/django/pull/11291 - Fixed #30416 -- Restore
> terminal state when reloading. (asked for update)
>   https://github.com/django/django/pull/11981 - Fixed #23051 -- Raise
> exception on only() calls with reverse fields (asked for update)
>   https://github.com/django/django/pull/12090 - Fixed #29058 -- return
> geom type for GeoDjango fields when using Spatialite backend so that
> migrations don't fail. (asked for update)
>   https://github.com/django/django/pull/12274 - [WIP/RFC]
> DateField/TimeField: allow for editable=True with auto_now/auto_now_add
> (closed)
>   https://github.com/django/django/pull/13853 - Refs #21429 -- Added
> SimpleTestCase.assertLogRecords. (asked for update)
>   https://github.com/django/django/pull/12285 - URLValidator: clarify
> comment about maximum length of a host name. (resolved conflict and chasing
> down who can further comment about the change)
>
> Authored:
>   https://github.com/django/django/pull/16791 - Refs #34462 -- Fixed
> query anti-pattern when processing object deletion
>
> Other/Misc:
>   Google Summer of Code proposals review.
>
> On Mon, Apr 17, 2023 at 5:54 PM Natalia Bidart 
> wrote:
>
>> Week ending 2023-04-16 (Week 16)