<s> from djobberbase . conf import settings <EOL> from djobberbase . models import Job , Type <EOL> def general_settings ( request ) : <EOL> tv = { } <EOL> tv [ '<STR_LIT>' ] = settings . DJOBBERBASE_SITE_NAME <EOL> tv [ '<STR_LIT>' ] = settings . DJOBBERBASE_HTML_TITLE <EOL> tv [ '<STR_LIT>' ] = settings . DJOBBERBASE_SITE_KEYWORDS <EOL> tv [ '<STR_LIT>' ] = settings . DJOBBERBASE_SITE_DESCRIPTION <EOL> return tv <EOL> def categories_and_types ( request ) : <EOL> tv = { } <EOL> tv [ '<STR_LIT>' ] = Category . objects . all ( ) . order_by ( '<STR_LIT>' ) <EOL> tv [ '<STR_LIT>' ] = Type . objects . all ( ) </s>
