add/fix some module-level docstrings
This commit is contained in:
parent
3f92c27125
commit
0df4efce1c
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
configuration for the tests
|
configuration for the (py.test based) tests
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
@ -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__)
|
||||||
|
@ -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__)
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
"""
|
||||||
|
models for hosts, domains, service updaters, ...
|
||||||
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import base64
|
import base64
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user