Django 2.1.x DocumentationForms and view tools for logging in users, or restricting content 3.10. User authentication in Django 413 Django Documentation, Release 2.1.16.dev20191202082911 • A pluggable backend system The authentication django.conf.urls.i18n, 468 django.contrib.admin, 698 django.contrib.admindocs, 706 django.contrib.auth, 413 django.contrib.auth.backends, 760 django.contrib.auth.forms, 385 django.contrib.auth.hashers, 394 django django.contrib.admin (module), 698 django.contrib.admindocs (module), 706 django.contrib.auth (module), 413 django.contrib.auth.backends (module), 760 django.contrib.auth.forms (module), 385 django.contrib.auth0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 1.10.x Documentationa separate cached copy of the sidebar used in the previous example 3.11. Django’s cache framework 413 Django Documentation, Release 1.10.9.dev20171123183751 for every user of your site. Do this by passing django.db.models.query.QuerySet), 1168 byteorder (WKBWriter attribute), 847 C cache template tag, 413 cache_control() (in module django.views.decorators.cache), 197 cache_key_prefix (backends.cached_db 1329 wordwrap, 1329 yesno, 1329 template tag autoescape, 1295 block, 1295 blocktrans, 447 cache, 413 comment, 1295 csrf_token, 1296 cycle, 1296 debug, 1298 extends, 1298 filter, 1298 firstof, 1299 for0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 4.0.x Documentationcom') @user_passes_test(email_check) (continues on next page) 3.10. User authentication in Django 413 Django Documentation, Release 4.0.11.dev20230214085346 (continued from previous page) def my_view(request): login_url (AccessMixin attribute), 416 LoginRequiredMixin (class in django.contrib.auth.mixins), 413 LoginView (class in django.contrib.auth.views), 419 logout() (Client method), 368 logout() (in module django.contrib.auth.signals), 853 user_passes_test() (in module django.contrib.auth.decorators), 413 user_permissions (models.User attribute), 848 UserAttributeSimilarityValidator (class in django.contrib0 码力 | 2248 页 | 7.90 MB | 1 年前3
Django 3.0.x Documentationexample, the field identifier is used as the identifying field: 3.10. User authentication in Django 413 Django Documentation, Release 3.0.15.dev class MyUser(AbstractBaseUser): identifier = models.Cha BaseUserManager (class in django.contrib.auth), 416 models.CustomUser (class in django.contrib.auth), 413 models.CustomUserManager (class in django.contrib.auth), 416 models.Group (class in django.contrib auth.forms), 395 username (models.User attribute), 777 USERNAME_FIELD (models.CustomUser attribute), 413 UserPassesTestMixin (class in django.contrib.auth.mixins), 383 using() (in module django.db.models0 码力 | 2002 页 | 6.73 MB | 1 年前3
Django 5.1 Documentationfetch_redirect_response=True)[source] [https://github.com/django/django/blob/stable/5.1.x/django/test/testcases.py#L413] Asserts that the response returned a status_code redirect status, redirected to expected_url (including BaseYearArchiveView[source] [https://github.com/django/django/blob/stable/5.1.x/django/views/generic/dates.py#L 413] class BaseMonthArchiveView[source] [https://github.com/django/django/blob/stable/5.1.x/django/views/generic/dates class FileInput[source] [https://github.com/django/django/blob/stable/5.1.x/django/forms/widgets.py#L413] template_name: 'django/forms/widgets/file.html' Renders as: ClearableFileInput0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationfetch_redirect_response=True)[source] [https://github.com/django/django/blob/stable/5.1.x/django/test/testcases.py#L413] Asserts that the response returned a status_code redirect status, redirected to expected_url (including BaseYearArchiveView[source] [https://github.com/django/django/blob/stable/5.1.x/django/views/generic/dates.py#L 413] class BaseMonthArchiveView[source] [https://github.com/django/django/blob/stable/5.1.x/django/views/generic/dates class FileInput[source] [https://github.com/django/django/blob/stable/5.1.x/django/forms/widgets.py#L413] template_name: 'django/forms/widgets/file.html' Renders as: ClearableFileInput0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 1.8.x Documentationfrom_email, [to]) msg.attach_alternative(html_content, "text/html") msg.send() 3.14. Sending email 413 Django Documentation, Release 1.8.20.dev20180306181007 By default, the MIME type of the body parameter urlresolvers), 1294 reverse_ordering() (Expression method), 1139 RFC RFC 1123, 1309 RFC 2046#section-5.2.1, 413 RFC 2109, 1157, 1202 RFC 2396, 1085 RFC 2616, 316, 917, 1319, 1473 RFC 2616#section-10, 318 RFC 2616#section-140 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.11.x Documentationwell-indexed database server. To use a database table as your cache backend: 3.11. Django’s cache framework 413 Django Documentation, Release 1.11.30.dev20200305075726 • Set BACKEND to django.core.cache.backends0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 2.0.x Documentation• Working with User objects • Permissions and authorization 3.10. User authentication in Django 413 Django Documentation, Release 2.0.14.dev20190701080343 • Authentication in web requests • Managing0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.2.x Documentationiterations. """ iterations = PBKDF2PasswordHasher.iterations * 100 3.10. User authentication in Django 413 Django Documentation, Release 2.2.29.dev20220411083753 Save this somewhere in your project. For example0 码力 | 2060 页 | 7.23 MB | 1 年前3
共 17 条
- 1
- 2













