Django 4.2.x Documentationin your project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 5.1.2 Documentationyour project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your auth", "django.contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 2923 页 | 9.62 MB | 1 年前3
Django 5.1 Documentationin your project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1 Documentationyour project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your auth", "django.contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 2917 页 | 9.59 MB | 1 年前3
Django 5.1.2 Documentationin your project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.0.x Documentationyour project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your auth", "django.contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 2878 页 | 9.60 MB | 1 年前3
Django 5.0.x Documentationin your project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 3407 页 | 3.21 MB | 1 年前3
Django 4.2.x Documentationyour project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your auth", "django.contrib.messages.context_processors.messages", ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. 3.3. Handling HTTP requests 303 Django Documentation, Release 4.2.4.dev202307241907410 码力 | 2842 页 | 9.47 MB | 1 年前3
Django 4.1.x Documentationin your project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your contrib.messages.context_processors.messages', ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x Documentationin your project directory (the one that contains manage.py). Templates can live anywhere on your filesystem that Django can access. (Django runs as whatever user your server runs.) However, keeping your contrib.messages.context_processors.messages', ], }, }, ] DIRS is a list of filesystem directories to check when loading Django templates; it’s a search path. Organizing templates faster to store session data elsewhere, so Django can be configured to store session data on your filesystem or in your cache. Using database-backed sessions If you want to use a database-backed session0 码力 | 3184 页 | 3.14 MB | 1 年前3
共 46 条
- 1
- 2
- 3
- 4
- 5













