netbox/netbox/utilities
Alexander Haase b5bc0bad38 Cover multitable inheritance in serialization
During serialization, custom fields may be available to a model due to
multi-table inheritance, but might not be available in serialized data
because only direct fields of the model are covered. Now this attribute
is only used if available in serialized data. Models using multi-table
inheritance must modify their serialize_object() method to cover parent
serialization.
2025-02-20 10:09:35 -05:00
..
forms Closes #18045: Enable adding a new MAC to an interface via quick add (#18200) 2024-12-16 10:57:09 -05:00
management Closes #17725: Clean up import statements (#17728) 2024-10-10 14:52:47 -04:00
serializers Closes #17725: Clean up import statements (#17728) 2024-10-10 14:52:47 -04:00
templates Closes #18045: Enable adding a new MAC to an interface via quick add (#18200) 2024-12-16 10:57:09 -05:00
templatetags Closes #17752: Rename URL paths for bulk import to *_bulk_import 2024-11-22 12:51:06 -05:00
testing Closes #17752: Rename URL paths for bulk import to *_bulk_import 2024-11-22 12:51:06 -05:00
tests Merge branch 'develop' into feature 2024-12-12 12:13:45 -05:00
__init__.py Initial push to public repo 2016-03-01 11:23:03 -05:00
api.py 17929 Add Scope Mixins to Prefix (#17930) 2024-11-15 14:55:46 -05:00
choices.py Move choice sets from utilities.choices to netbox.choices 2024-03-22 08:59:52 -04:00
constants.py Add support for socks connection to Git backend (#17640) 2024-10-01 12:11:44 -04:00
conversion.py Merge branch 'develop' into feature 2024-11-21 14:00:57 -05:00
counters.py Fixes #14081: Fix cached counters on delete for parent-child items (#14131) 2023-12-12 16:53:04 -05:00
data.py 9627 use ArrayField on VLANGroup for allowed VLANs (#16710) 2024-07-16 10:47:18 -04:00
datetime.py Introduce datetime_from_timestamp() utility function 2024-07-16 12:21:50 -04:00
error_handlers.py Closes #17951: Extend Ruff ruleset 2024-11-07 11:52:02 -05:00
exceptions.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
fields.py Closes #11279: Replace _name natural key sorting with collation (#18009) 2024-11-15 09:32:09 -05:00
filters.py 13459 Fix OpenAPI type for TreeNodeMultipleChoiceFilter (#17095) 2024-08-10 10:24:02 -04:00
html.py Closes #17733: Replace pycodestyle with ruff (#17734) 2024-10-11 07:43:46 -04:00
htmx.py Fixes #15652: Fix the display of error messages after attempting to delete an object 2024-04-15 15:47:43 -04:00
jinja2.py Fixes #17490: Config Template unable to dynamically include templates (#18106) 2024-12-04 21:11:12 -05:00
json.py 17219 fix custom validator display if function (#17247) 2024-08-27 14:19:16 -04:00
markdown.py Closes #17725: Clean up import statements (#17728) 2024-10-10 14:52:47 -04:00
migration.py custom_deconstruct() should not ignore TimeZoneField 2024-03-22 08:59:52 -04:00
mptt.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
object_types.py Move object_type_identifier() & object_type_name() to utilities.object_types 2024-03-22 08:59:52 -04:00
ordering.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
paginator.py Fix pagination when pagination.per_page is "" 2024-05-20 10:29:24 -04:00
password_validation.py 17289 enforce minimum password strength (#17299) 2024-08-30 17:23:01 -04:00
permissions.py Fixes: #16973 - Resolve $user token to User.id for use in permissions based on custom fields (#17268) 2024-08-26 16:41:58 -04:00
query_functions.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
query.py Move count_related() & dict_to_filter_params() to utilities.query 2024-03-22 08:59:52 -04:00
querydict.py fix: allow cloning field value of 0 (#16741) 2024-07-01 09:22:09 -04:00
querysets.py Update queryset resolution methods for compatibility with Django 5.0 2024-05-13 18:56:44 -04:00
relations.py Move utilities.utils.get_related_models() to utilities.relations 2024-03-22 08:59:52 -04:00
release.py Closes #18559: Add a build parameter to ReleaseInfo (#18560) 2025-02-03 09:44:00 -05:00
request.py Move NetBoxFakeRequest and copy_safe_request() from utilities.utils to utilities.request 2024-03-22 08:59:52 -04:00
rqworker.py Adds rq retry options (#12588) 2023-05-16 14:10:44 -04:00
serialization.py Cover multitable inheritance in serialization 2025-02-20 10:09:35 -05:00
socks.py Closes #18022: Extend linter (ruff) to enforce line length limit (120 chars) (#18067) 2024-11-21 15:58:11 -05:00
string.py Closes #15465: Clean up settings.py 2024-03-22 15:15:37 -04:00
tables.py 16460 remove spaces from telephone dialing 2024-06-18 08:30:40 -04:00
tracking.py 6347 Cache the number of each component type assigned to devices/VMs (#12632) 2023-07-25 09:39:05 -04:00
urls.py Closes #18023: Employ register_model_view() for list views (#18029) 2024-11-20 15:54:37 -05:00
validators.py 15094 Add missing gettext to error strings for internationalization (#15155) 2024-02-20 09:44:02 -05:00
views.py Omit empty related models 2025-02-10 10:56:09 -05:00