zulip/zerver
Prakhar Pratyush e45623fccc python: Update tuple handling pattern; returned by a delete() query.
This commit updates the pattern for dealing with tuples
returned by the delete() query.

The '(num_deleted, ignored) = ModelName.objects.filter().delete()'
pattern is preferred due to better readability.

We avoid the pattern '(num_deleted, _)' because Django uses _
for translation, which may lead to future bugs.
2023-03-27 16:18:23 -07:00
..
actions registration: Remove redundant code. 2023-03-27 15:44:42 -07:00
data_import upload: Rename upload_message_file to use word "attachment". 2023-03-02 16:36:19 -08:00
integration_fixtures/nagios
lib python: Update tuple handling pattern; returned by a delete() query. 2023-03-27 16:18:23 -07:00
management web: Save a 301 redirect from /terms/ to /policies/terms. 2023-03-24 14:51:01 -07:00
migrations models: Add PreregistrationRealm class. 2023-03-27 15:44:42 -07:00
openapi UserTopic: Set visibility_policy or delete UserTopic row without error. 2023-03-16 10:55:54 -07:00
tests test_classes: Add submit_realm_creation_form helper. 2023-03-27 15:44:42 -07:00
tornado tornado: Replace dataclasses.asdict() call, as it is slow. 2023-02-23 11:01:38 -08:00
views registration: Use get_realm_create_form_context for register.html. 2023-03-27 15:44:42 -07:00
webhooks integration: Modify branch names for Bitbucket 2 events. 2023-03-27 10:09:25 -07:00
worker deferred_work: Log at start of the work. 2023-02-09 12:06:38 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py templates: Add realm information fields in create_realm.html. 2023-03-27 15:44:42 -07:00
decorator.py request-notes: Add `is_webhook_view` boolean to fields. 2023-03-06 10:33:13 -08:00
filters.py
forms.py forms: Use RealmDetailsForm as subclass for RegistrationForm. 2023-03-27 15:44:42 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py ruff: Fix PIE810 Call `startswith` once with a `tuple`. 2023-02-08 16:40:35 -08:00
models.py models: Add PreregistrationRealm class. 2023-03-27 15:44:42 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00