Welcome to django_template’s documentation!

djangoTemplate package

Subpackages

Submodules

djangoTemplate.urls module

djangoTemplate URL Configuration

The urlpatterns list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/

djangoTemplate.wsgi module

WSGI config for djangoTemplate project.

It exposes the WSGI callable as a module-level variable named application.

For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/

Module contents

djangoTemplate

base package

Subpackages

Submodules

base.admin module

base.apps module

class base.apps.BaseConfig(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

name = 'base'

base.models module

base.test_views module

class base.test_views.TestBaseViews(methodName='runTest')[source]

Bases: django.contrib.staticfiles.testing.StaticLiveServerTestCase

Integration test suite for testing the views in the app: base.

Test the url for home and the basefiles like robots.txt and humans.txt

browser

Browser – Driver to navigate through websites and to run integration tests.

setUp()[source]

Initialize the browser, before running the tests.

tearDown()[source]

At the end of tests, close the browser

test_home()[source]

Test for url ‘base:home’.

Visit the url of name ‘home’ and check it loads the content

test_humans()[source]

Test for url ‘base:base_files(humans.txt)’.

Visit the url of humans.txt and check it loads the file

test_robots()[source]

Test for url ‘base:base_files(robots.txt)’.

Visit the url of robots.txt and check it loads the file

base.urls module

base.views module

base.views.base_files(request, filename)[source]
base.views.home(request)[source]

Module contents

tosp_auth package

Subpackages

Submodules

tosp_auth.admin module

tosp_auth.apps module

class tosp_auth.apps.TospAuthConfig(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

name = 'tosp_auth'

tosp_auth.models module

tosp_auth.tests module

tosp_auth.urls module

tosp_auth.views module

tosp_auth.views.logout(request)[source]

Module contents

Indices and tables