Changes between Version 5 and Version 6 of Ticket #34542
- Timestamp:
- May 9, 2023, 12:40:54 AM (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34542 – Description
v5 v6 5 5 [https://docs.netbox.dev/en/stable/installation/3-netbox/] 6 6 7 According to th is line... [https://github.com/django/django/blob/main/django/contrib/auth/models.py#L378]7 According to these lines... [https://github.com/django/django/blob/main/django/contrib/auth/models.py#L378] and [https://github.com/django/django/blob/main/django/contrib/auth/models.py#L358] 8 8 9 9 The 'email' field is marked as required, but is also marked in a way to allow it to be empty. 10 10 11 This is the section of the code that deals with validatingrequired fields when createsuperuser is called **interactively**... [https://github.com/django/django/blob/main/django/contrib/auth/management/commands/createsuperuser.py#L143]11 This section of the code validates required fields when createsuperuser is called **interactively**... [https://github.com/django/django/blob/main/django/contrib/auth/management/commands/createsuperuser.py#L143] 12 12 13 This is the section of the code that deals with validatingrequired fields when createsuperuser is called **non-interactively**... [https://github.com/django/django/blob/main/django/contrib/auth/management/commands/createsuperuser.py#L219]13 This section of the code validates required fields when createsuperuser is called **non-interactively**... [https://github.com/django/django/blob/main/django/contrib/auth/management/commands/createsuperuser.py#L219] 14 14 15 15 Although required fields are enforced, the **non-interactive** code doesn't allow for those to be blank, where blank required fields are permitted. I've tried to set a field like 'email' to blank **non-interactively** but nothing works, for example...