Changes between Initial Version and Version 1 of Ticket #19402, comment 3


Ignore:
Timestamp:
Dec 1, 2012, 5:39:28 AM (12 years ago)
Author:
Mattias Linnap

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19402, comment 3

    initial v1  
    1010 * I assume user creation will fail if REQUIRED_FIELDS omits fields which are required on the database level - should this be validated?
    1111 * What parts of django might check REQUIRED_FIELDS in the future? Will ModelForms or ModelAdmins read it and reject creating users with missing fields, or is that up to the user code to validate?
    12  
     12 * It's possible to bypass various levels of validation. For example, an user object could be created by createsuperuser.py, by a ModelForm, by a custom form, in the admin site, by code that creates and saves an instance of the swapped User model, or in the database directly. It's possible to load and read users after they have been created in various ways. Which of these will fail currently, or should fail in future versions due to entries in REQUIRED_FIELDS?
Back to Top