TSARP package

Submodules

TSARP.asgi module

ASGI config for TSARP project.

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

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

TSARP.settings module

Django settings for TSARP project.

Generated by ‘django-admin startproject’ using Django 3.2.10.

For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/

For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/

TSARP.settings_production module

Django settings for TSARP project.

Generated by ‘django-admin startproject’ using Django 3.2.10.

For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/

For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/

TSARP.urls module

TSARP URL Configuration

The urlpatterns list routes URLs to views. For more information please see:

https://docs.djangoproject.com/en/3.2/topics/http/urls/

Examples: Function views

  1. Add an import: from my_app import views

  2. Add a URL to urlpatterns: path(‘’, views.home, name=’home’)

Class-based views
  1. Add an import: from other_app.views import Home

  2. Add a URL to urlpatterns: path(‘’, Home.as_view(), name=’home’)

Including another URLconf
  1. Import the include() function: from django.urls import include, path

  2. Add a URL to urlpatterns: path(‘blog/’, include(‘blog.urls’))

TSARP.views module

class TSARP.views.DocView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

template_name = 'docs/build/html/index.html'
class TSARP.views.IndexView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

template_name = 'index.html'
class TSARP.views.JbrowserView(**kwargs)[source]

Bases: django.contrib.auth.mixins.LoginRequiredMixin, django.views.generic.base.TemplateView

login_url = '/login'
template_name = 'Jbrowser.html'
class TSARP.views.ResetPasswordView(**kwargs)[source]

Bases: django.contrib.messages.views.SuccessMessageMixin, django.contrib.auth.views.PasswordResetView

email_template_name = 'password_reset_email.html'
subject_template_name = 'password_reset_subject'
success_url
template_name = 'password_reset.html'
class TSARP.views.TsarpView(**kwargs)[source]

Bases: django.contrib.auth.mixins.LoginRequiredMixin, django.views.generic.base.TemplateView

login_url = '/login'
template_name = 'tsarp.html'
class TSARP.views.UsageView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

template_name = 'usage.html'
TSARP.views.login(request)[source]
TSARP.views.logout(request)[source]
TSARP.views.password_reset_complete(request)[source]
TSARP.views.register(request)[source]

TSARP.wsgi module

WSGI config for TSARP 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/3.2/howto/deployment/wsgi/

Module contents