Yahoo Italia Ricerca nel Web

Risultati di ricerca

  1. 5 giorni fa · This document explores the details of the GeoDjango Model API. Throughout this section, we’ll be using the following geographic model of a ZIP code and of a Digital Elevation Model as our examples: from django.contrib.gis.db import models class Zipcode(models.Model): code = models.CharField(max_length=5) poly = models.PolygonField() class ...

  2. 1 giorno fa · Session reads use the cache, or the database if the data has been evicted from the cache. To use this backend, set SESSION_ENGINE to "django.contrib.sessions.backends.cached_db", and follow the configuration instructions for the using database-backed sessions. The cache backend ( cache) stores session data only in your cache.

  3. 1 giorno fa · class models.AnonymousUser ¶. django.contrib.auth.models.AnonymousUser is a class that implements the django.contrib.auth.models.User interface, with these differences: id is always None. username is always the empty string. get_username() always returns the empty string. is_anonymous is True instead of False.

  4. 5 giorni fa · Django de un vistazo. ¶. Debido a que Django fue desarrollado en un ambiente de sala de redacción de ritmo rápido, fue diseñado para hacer tareas comunes de desarrollo web de forma rápida y fácil. Aquí se incluye una introducción informal de cómo escribir una aplicación web que utiliza una base de datos con Django.

  5. 1 giorno fa · In Django in Action you'll. Build a multi-user web site in Django. Read, write, and manage data. Create reusable and composable HTML templates. Manage user data including form submissions and file uploads. Set up authentication, authorization, and per-person-per-page permissions. Manage the backend using the Django Admin tool.

  6. 1 giorno fa · Generating admin sites for your staff or clients to add, change, and delete content is tedious work that doesn't require much creativity. For that reason, Django entirely automates creation of admin interfaces for models. Django was written in a newsroom environment, with a very clear separation between "content publishers" and the "public" site.

  7. 1 giorno fa · This is an overview of the Django template language’s syntax. For details see the language syntax reference. A Django template is a text document or a Python string marked-up using the Django template language. Some constructs are recognized and interpreted by the template engine. The main ones are variables and tags.