Comments (2)
I confirmed that tests pass for Django 3.2.2
Steps:
- Created a virtual environment with Python 3.8 and Django 3.2.2 and activated it
- Cloned
django-registration
repo andcd
into it - Ran
pip install -e .
to installdjango-registration
app - Added
SECRET_KEY
setting inSETTINGS_DICT
inruntests.py
- Added
DEFAULT_AUTO_FIELD
key with valuedjango.db.models.AutoField
inSETTINGS_DICT
inruntests.py
(Required for Django 3.2.2 if you dont want the warnings to show) - Ran
python runtests.py
Output:
Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Operations to perform:
Apply all migrations: auth, contenttypes, django_registration, sessions, sites, tests
Running migrations:
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying django_registration.0001_initial... OK
Applying sessions.0001_initial... OK
Applying sites.0001_initial... OK
Applying sites.0002_alter_domain_unique... OK
Applying tests.0001_initial... OK
System check identified no issues (0 silenced).
test_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_activation_expired (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_activation_signal (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_bad_key (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_custom_user_configured (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_nonexistent_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_closed (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_failure (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_get (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_no_sites (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_open (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_signal (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_repeat_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_activation (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_activation_expired (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_activation_signal (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_bad_key (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_nonexistent_activation (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_closed (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_failure (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_get (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_no_sites (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_open (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_signal (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_repeat_activation (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration (tests.base.ActivationTestCase) ... ok
test_registration_closed (tests.base.ActivationTestCase) ... ok
test_registration_failure (tests.base.ActivationTestCase) ... ok
test_registration_get (tests.base.ActivationTestCase) ... ok
test_registration_no_sites (tests.base.ActivationTestCase) ... ok
test_registration_open (tests.base.ActivationTestCase) ... ok
test_registration_signal (tests.base.ActivationTestCase) ... ok
test_case_insensitive_form (tests.test_forms.RegistrationFormTests) ... ok
test_case_insensitive_validator (tests.test_forms.RegistrationFormTests) ... ok
test_case_insensitive_validator_eq (tests.test_forms.RegistrationFormTests) ... ok
test_confusable_emails (tests.test_forms.RegistrationFormTests) ... ok
test_confusable_usernames (tests.test_forms.RegistrationFormTests) ... ok
test_confusables_email_validator (tests.test_forms.RegistrationFormTests) ... ok
test_confusables_validator (tests.test_forms.RegistrationFormTests) ... ok
test_custom_reserved_names (tests.test_forms.RegistrationFormTests) ... ok
test_email_required (tests.test_forms.RegistrationFormTests) ... ok
test_email_uniqueness (tests.test_forms.RegistrationFormTests) ... ok
test_email_validation (tests.test_forms.RegistrationFormTests) ... ok
test_email_validator (tests.test_forms.RegistrationFormTests) ... ok
test_reserved_name_non_string (tests.test_forms.RegistrationFormTests) ... ok
test_reserved_name_validator_eq (tests.test_forms.RegistrationFormTests) ... ok
test_reserved_names (tests.test_forms.RegistrationFormTests) ... ok
test_tos_field (tests.test_forms.RegistrationFormTests) ... ok
test_username_uniqueness (tests.test_forms.RegistrationFormTests) ... ok
test_custom_user_configured (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_closed (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_failure (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_get (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_open (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_signal (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_closed (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_failure (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_get (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_open (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_signal (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration (tests.base.WorkflowTestCase) ... ok
test_registration_closed (tests.base.WorkflowTestCase) ... ok
test_registration_failure (tests.base.WorkflowTestCase) ... ok
test_registration_get (tests.base.WorkflowTestCase) ... ok
test_registration_open (tests.base.WorkflowTestCase) ... ok
test_registration_signal (tests.base.WorkflowTestCase) ... ok
test_activation (tests.test_views.ActivationViewTests) ... ok
test_user_mismatch_breaks_view (tests.test_views.CustomUserTests) ... ok
test_sensitive_post_parameters_are_filtered (tests.test_views.SensitiveParameterFilterTests) ... ok
----------------------------------------------------------------------
Ran 73 tests in 6.218s
OK
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
from django-registration.
Totally agree @hirusi !
from django-registration.
Related Issues (20)
- Best way to resend activation email
- List URL names defined for one-step workflow in quickstart
- django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy() HOT 1
- ACCOUNT_ACTIVATION_DAYS not an int HOT 1
- Translation for "Password" does not work HOT 1
- invalid token and site not found
- Is there a function to change email address? HOT 1
- i18n translation doesn't work. HOT 2
- Usage with a proxy model to a custom user class. HOT 2
- ``RegistrationView`` only supports ``ModelForm`` but not conventional forms HOT 1
- Missing documentation on removal of `cleanupregistration` HOT 1
- Migration from 2.x to 3.x leaves `registration` table in database HOT 5
- False ImproperlyConfigured error HOT 2
- Error importing RegistrationView when using custom user model with unique USERNAME_FIELD HOT 7
- E-mail field checked twice for correct format HOT 11
- No rendering in email template HOT 2
- Undocumented assumption about custom user models HOT 1
- Two-step `ActivationView` runs `activate()` on HTTP GET HOT 2
- Python 3.11+ support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-registration.