Changes between Version 5 and Version 6 of Ticket #34542


Ignore:
Timestamp:
May 9, 2023, 12:40:54 AM (20 months ago)
Author:
Lantizia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34542 – Description

    v5 v6  
    55[https://docs.netbox.dev/en/stable/installation/3-netbox/]
    66
    7 According to this line... [https://github.com/django/django/blob/main/django/contrib/auth/models.py#L378]
     7According 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]
    88
    99The 'email' field is marked as required, but is also marked in a way to allow it to be empty.
    1010
    11 This is the section of the code that deals with validating required fields when createsuperuser is called **interactively**... [https://github.com/django/django/blob/main/django/contrib/auth/management/commands/createsuperuser.py#L143]
     11This 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]
    1212
    13 This is the section of the code that deals with validating required fields when createsuperuser is called **non-interactively**... [https://github.com/django/django/blob/main/django/contrib/auth/management/commands/createsuperuser.py#L219]
     13This 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]
    1414
    1515Although 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...
Back to Top