add/fix some module-level docstrings

This commit is contained in:
Thomas Waldmann 2013-12-15 17:09:22 +01:00
parent 3f92c27125
commit 0df4efce1c
10 changed files with 32 additions and 2 deletions

View File

@ -1,5 +1,5 @@
""" """
configuration for the tests configuration for the (py.test based) tests
""" """
import pytest import pytest

View File

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""
views for the (usually non-interactive, automated) web api
"""
import logging import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -1,4 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""
context processors for injecting some settings into the template context and
also for keeping the IP addrs in the session fresh.
"""
import logging import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -1,3 +1,7 @@
"""
register our models for Django's admin
"""
from django.contrib import admin from django.contrib import admin
from .models import Host, Domain, BlacklistedDomain, ServiceUpdater, ServiceUpdaterHostConfig from .models import Host, Domain, BlacklistedDomain, ServiceUpdater, ServiceUpdaterHostConfig

View File

@ -1,4 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""
form definitions (which fields are available, order, autofocus, ...)
"""
from django import forms from django import forms
from .models import Host, Domain, ServiceUpdaterHostConfig from .models import Host, Domain, ServiceUpdaterHostConfig

View File

@ -1,3 +1,7 @@
"""
models for hosts, domains, service updaters, ...
"""
import re import re
import base64 import base64

View File

@ -1,3 +1,7 @@
"""
main app url dispatching
"""
from django.conf.urls import patterns, url from django.conf.urls import patterns, url
from django.views.generic import TemplateView from django.views.generic import TemplateView

View File

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""
views for the interactive web user interface
"""
from datetime import timedelta from datetime import timedelta

View File

@ -1,5 +1,5 @@
""" """
reinitialize the test user account (and clean up) dealing with the fault counters and available/abuse/abuse_blocked flags
""" """
from optparse import make_option from optparse import make_option

View File

@ -1,3 +1,7 @@
"""
top-level url dispatching
"""
from django.conf import settings from django.conf import settings
from django.conf.urls import patterns, include, url from django.conf.urls import patterns, include, url
from django.contrib import admin from django.contrib import admin