GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.fullstackpython.com — Django DjangoDjango is a widely-used Python web application framework with a "batteries-included" philosophy. The principle behind batteries-included is that the common functionality for building web applications should come with the framework instead of as separate libraries. For example, authentication, URL routing, a template engine, an object-relational mapper (ORM), and database schema migrations are all included with the Django framework. Compare that included functionality to the Flask framework which requires a separate library such as Flask-Login to perform user authentication. The batteries-included and extensibility philosophies are simply two different ways to tackle framework building. Neither philosophy is inherently better than the other one. Django is an implementation of the web frameworks concept. Learn how these pieces fit together in the web development chapter or view the table of contents for all topics.
Why is Django a good web framework choice?The Django project's stability, performance and community have grown tremendously over the past decade since the framework's creation. Detailed tutorials and good practices are readily available on the web and in books. The framework continues to add significant new functionality such as database migrations with each release. I highly recommend the Django framework as a starting place for new Python web developers because the official documentation and tutorials are some of the best anywhere in software development. Many cities also have Django-specific groups such as Django District, Django Boston and San Francisco Django so new developers can get help when they are stuck. Django books and tutorialsThere are a slew of free or low cost resources out there for Django. Make sure to check the version numbers used in each post you read because Django was released over 10 years ago and has had a huge number of updates since then. These resources are geared towards beginners. If you are already experienced with Django you should take a look at the next section of resources for more advanced tutorials.
Django videosAre you looking for Django videos in addition to articles? There is a special section for Django and web development on the best Python videos page. Intermediate and advanced Django topicsThese books and tutorials assume that you know the basics of building Django and want to go further to become much more knowledgeable about the framework.
Django migrations
Django ChannelsChannels are a new mechanism in Django 1.9 provided as a standalone app. They may be incorporated into the core framework in 2.0+. Channels provide "real-time" full-duplex communication between the browser and the server based on WebSockets.
Django testing
Django with JavaScript MVC frameworksThere are resources for JavaScript MVC frameworks such as Angular, React and Vue.js on their respective pages. Django ORM tutorialsDjango comes with its own custom object-relational mapper (ORM) typically referred to as "the Django ORM". Learn more about the Django ORM on the its own page and more broadly about ORMs on the Python object-relational mappers page. Static and media filesDeploying and handling static and media files can be confusing for new Django developers. These resources along with the static content page are useful for figuring out how to handle these files properly.
Django project templatesProject templates, not to be confused with a template engine, generate boilerplate code for a base Django project plus optional libraries that are often used when developing web applications.
Open source Django example projectsReading open source code can be useful when you are trying to figure out how to build your own projects. This is a short list of some real-world example applications, and many more can be found on the Django example projects and code page.
Open source code to learn DjangoThere are many open source projects that rely on Django. One of the best ways to learn how to use this framework is to read how other projects use it in real-world code. This section lists these code examples by class and method in Django's code base. Django: Extensions, Plug-ins and Related Libraries & Example Projects and Codedjango.apps.config AppConfigdjango.conf settings, urls.urldjango.contrib.admin filters.SimpleListFilter,django.contrib.admin.helpers ActionForm, AdminFormdjango.contrib.admin.options IS_POPUP_VAR, IncorrectLookupParameters, ModelAdmin, csrf_protect_mdjango.contrib.admin.sites NotRegistered, register, sitedjango.contrib.auth get_user_model, decorators login_required, hashers make_passworddjango.contrib.staticfiles finders, .finders BaseFinder, .finders BaseStorageFinder, .finders find, .finders get_finders .handlers StaticFilesHandler storage .storage CachedStaticFilesStorage, .storage HashedFilesMixin, .storage ManifestStaticFilesStorage, .storage StaticFilesStorage, .storage staticfiles_storage .utils matches_patternsdjango.core cache, checks, exceptions, mail, mail.send_mail, mail.messages EmailMessage, management, management.base BaseCommand, serializers, signals, signing, validatorsdjango.core.exceptions DisallowedRedirect, FieldDoesNotExist, FieldError, ImproperlyConfigured, MiddlewareNotUsed, NON_FIELD_ERRORS, ObjectDoesNotExist, PermissionDenied, SuspiciousFileOperation, SuspiciousMultipartForm, ValidationErrordjango.db DEFAULT_DB_ALIAS, DataError, DatabaseError, IntegrityError, OperationalError, ProgrammingError, connection, connections, migrations, router, transaction .backends utilsdjango.db.migrations RunPython, .autodetector MigrationAutodetector, .exceptions IrreversibleError, .executor MigrationExecutor, .loader MIGRATIONS_MODULE_NAME, .loader MigrationLoader, .operations.base Operation, .state ProjectStatedjango.db.models AutoField, BooleanField, CharField, DateField, DateTimeField, FileField, ForeignKey, GenericIPAddressField, ImageField, IntegerField, Model, PositiveIntegerField, PositiveSmallIntegerField, signal, SlugField, SmallIntegerField, TextFielddjango.db.models.query BaseIterable, EmptyQuerySet, ModelIterable, Prefetch, Q, QuerySet, prefetch_related_objectsdjango.db.models.query_utils DeferredAttribute, PathInfo, Qdjango.db.models.signals post_delete, post_save, pre_delete, pre_savedjango.dispatch.dispatcher Signaldjango.forms BaseForm, BooleanField, CharField, CheckboxInput, CheckboxSelectMultiple, ChoiceField, DateField, DateInput, DateTimeField, EmailField, Field, FileInput, FilePathField, Form, HiddenInput, ImageField, IntegerField, Media, MediaDefiningClass, ModelChoiceField, ModelForm, ModelMultipleChoiceField, MultipleChoiceField, Select, SelectMultiple, TypedChoiceField, ValidationErrordjango.http HttpResponse, HttpResponseBadRequest, HttpResponseForbidden, HttpResponseNotModified, Http404, HttpResponsePermanentRedirect, HttpResponseRedirectdjango.shortcuts get_list_or_404, get_object_or_404, redirect, render, resolve_urldjango.template.base Context, FilterExpression, Node, NodeList, Parser, Template, TemplateSyntaxError, TextNode, Token, TokenType, VariableDoesNotExist, VariableNode, token_kwargsdjango.template.context Contextdjango.template.defaultfilters escape, filesizeformat, safe, slugify, striptags, title, truncatecharsdjango.template.loader get_template, render_to_string, select_templatedjango.template.loader_tags BlockNode, ExtendsNode, IncludeNodedjango.template.loaders.filesystem Loaderdjango.template.response SimpleTemplateResponse, TemplateResponsedjango.urls URLPattern, URLResolver, clear_url_caches, get_callable, get_resolver, get_script_prefix, include, path, re_path, register_converter, resolve, reverse, reverse_lazydjango.urls.exceptions NoReverseMatch, Resolver404django.utils dateformat, dateparse, datetime_safe, formats, module_loading, termcolors, timezone, translation, treedjango.utils.cache add_never_cache_headers, cc_delim_re, patch_cache_control, patch_response_headers, patch_vary_headersdjango.utils.crypto constant_time_compare, get_random_stringdjango.utils.datastructures MultiValueDictdjango.utils.dateparse parse_datetime, parse_durationdjango.utils.dates MONTHSdjango.utils.datetime_safe datetimedjango.utils.decorators method_decoratordjango.utils.deprecation MiddlewareMixin, RenameMethodsBasedjango.utils.duration duration_stringdjango.utils.encoding DjangoUnicodeDecodeError, filepath_to_uri, force_bytes, force_str, force_text, iri_to_uri, is_protected_type, smart_bytes, smart_str, smart_text, uri_to_iridjango.utils.formats get_format, localize_input, sanitize_separatorsdjango.utils.functional LazyObject, Promise, SimpleLazyObject, keep_lazy, lazy, total_ordering, wrapsdjango.utils.html conditional_escape, escape, escapejs, format_html, format_html_join, mark_safe, smart_urlquote, strip_tagsdjango.utils.http base36_to_int, http_date, int_to_base36, is_safe_url, unquote, url_has_allowed_host_and_scheme, urlencode, urlquote, urlunquotedjango.utils.ipv6 clean_ipv6_addressdjango.utils.itercompat is_iterabledjango.utils.module_loading autodiscover_modules, import_string, module_has_submoduledjango.utils.numberformat formatdjango.utils.safestring SafeData, SafeText, mark_safedjango.utils.termcolors colorizedjango.utils.text Truncator, capfirst, format_lazy, get_text_list, get_valid_filename, slugifydjango.utils.timezone get_current_timezone, make_aware, now, timedeltadjango.utils.translation LANGUAGE_SESSION_KEY, activate, deactivate_all, get_language, get_language_from_request, gettext, gettext_lazy, ngettext, override, pgettext, pgettext_lazy, ugettext, ugettext_lazy, ungettext, ungettext_lazydjango.utils.version get_complete_versiondjango.views csrf .debug get_default_exception_reporter_filter .decorators.csrf csrf_exempt .decorators.debug sensitive_post_parameters .decorators.http require_GET, .decorators.http require_POSTdjango.views.generic CreateView, DeleteView, DetailView, FormView, ListView, RedirectView, TemplateView, UpdateView, Viewdjango.views.generic.base RedirectView, TemplateResponseMixin, TemplateView, Viewdjango.views.generic.detail SingleObjectMixindjango.views.generic.edit CreateView, DeleteView, DeletionMixin, FormMixin, FormViewdjango.views.generic.list ListView, MultipleObjectMixindjango.views.i18n JavaScriptCatalogdjango.views.static serve, was_modified_sinceWhat do you need to learn next for your Django app?
1. Introduction
2. Development Environments
3. Data
4. Web Development
Web Frameworks
Django
Flask
Bottle
Pyramid
TurboGears
Falcon
Morepath
Sanic
Other Web Frameworks
Template Engines
Jinja2
Mako
Django Templates
Web Design
HTML
Cascading Style Sheets (CSS)
Responsive Design
Minification
CSS Frameworks
Bootstrap
Foundation
JavaScript
React
Vue.js
Angular
Task Queues
Celery
Redis Queue (RQ)
Dramatiq
Static Site Generators
Pelican
Lektor
MkDocs
Testing
Unit Testing
Integration Testing
Debugging
Code Metrics
Networking
HTTPS
WebSockets
WebRTC
Web APIs
Microservices
Webhooks
Bots
API Creation
API Frameworks
Django REST Framework
API Integration
Twilio
Stripe
Slack
Okta
Security
SQL Injection
CSRF
5. Deployment
6. DevOps
Changelog
What Full Stack Means
About the Author
Future Directions
Page Statuses
...or view the full table of contents.
Full Stack Python
Full Stack Python
is an open book that explains concepts in plain language and provides
helpful resources for those topics.
Updates via Twitter & Facebook. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |