Django

Code

Changeset 7918

Show
Ignore:
Timestamp:
07/13/08 09:31:09 (4 months ago)
Author:
jbronn
Message:

gis: Merged revisions 7837-7838,7842-7852,7856-7869,7871,7876-7877,7882-7891,7900-7917 via svnmerge from trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis

    • Property svnmerge-integrated changed from /django/trunk:1-7835 to /django/trunk:1-7917
  • django/branches/gis/AUTHORS

    r7836 r7918  
    5353    Fabrice Aneche <akh@nobugware.com> 
    5454    ant9000@netwise.it 
    55     Florian Apolloner 
     55    Florian Apolloner <florian@apolloner.eu> 
    5656    arien <regexbot@gmail.com> 
    5757    David Ascher <http://ascher.ca/> 
     
    281281    Todd O'Bryan <toddobryan@mac.com> 
    282282    oggie rob <oz.robharvey@gmail.com> 
     283    oggy <ognjen.maric@gmail.com> 
    283284    Jay Parlar <parlar@gmail.com> 
    284285    Carlos Eduardo de Paula <carlosedp@gmail.com> 
     
    351352    Aaron Swartz <http://www.aaronsw.com/> 
    352353    Ville Säävuori <http://www.unessa.net/> 
     354    Christian Tanzer <tanzer@swing.co.at> 
    353355    Tyler Tarabula <tyler.tarabula@gmail.com> 
    354356    Tyson Tate <tyson@fallingbullets.com> 
  • django/branches/gis/django/bin/compile-messages.py

    r6815 r7918  
    11#!/usr/bin/env python 
    22 
    3 import optparse 
    4 import os 
    5 import sys 
     3if __name__ == "__main__": 
     4    import sys 
     5    name = sys.argv[0] 
     6    args = ' '.join(sys.argv[1:]) 
     7    print >> sys.stderr, "%s has been moved into django-admin.py" % name 
     8    print >> sys.stderr, 'Please run "django-admin.py compilemessages %s" instead.'% args 
     9    print >> sys.stderr 
     10    sys.exit(1) 
    611 
    7 try: 
    8     set 
    9 except NameError: 
    10     from sets import Set as set     # For Python 2.3 
    11  
    12  
    13 def compile_messages(locale=None): 
    14     basedirs = (os.path.join('conf', 'locale'), 'locale') 
    15     if os.environ.get('DJANGO_SETTINGS_MODULE'): 
    16         from django.conf import settings 
    17         basedirs += settings.LOCALE_PATHS 
    18  
    19     # Gather existing directories. 
    20     basedirs = set(map(os.path.abspath, filter(os.path.isdir, basedirs))) 
    21  
    22     if not basedirs: 
    23         print "This script should be run from the Django SVN tree or your project or app tree, or with the settings module specified." 
    24         sys.exit(1) 
    25  
    26     for basedir in basedirs: 
    27         if locale: 
    28             basedir = os.path.join(basedir, locale, 'LC_MESSAGES') 
    29         compile_messages_in_dir(basedir) 
    30  
    31 def compile_messages_in_dir(basedir): 
    32     for dirpath, dirnames, filenames in os.walk(basedir): 
    33         for f in filenames: 
    34             if f.endswith('.po'): 
    35                 sys.stderr.write('processing file %s in %s\n' % (f, dirpath)) 
    36                 pf = os.path.splitext(os.path.join(dirpath, f))[0] 
    37                 # Store the names of the .mo and .po files in an environment 
    38                 # variable, rather than doing a string replacement into the 
    39                 # command, so that we can take advantage of shell quoting, to 
    40                 # quote any malicious characters/escaping. 
    41                 # See http://cyberelk.net/tim/articles/cmdline/ar01s02.html 
    42                 os.environ['djangocompilemo'] = pf + '.mo' 
    43                 os.environ['djangocompilepo'] = pf + '.po' 
    44                 if sys.platform == 'win32': # Different shell-variable syntax 
    45                     cmd = 'msgfmt --check-format -o "%djangocompilemo%" "%djangocompilepo%"' 
    46                 else: 
    47                     cmd = 'msgfmt --check-format -o "$djangocompilemo" "$djangocompilepo"' 
    48                 os.system(cmd) 
    49  
    50 def main(): 
    51     parser = optparse.OptionParser() 
    52     parser.add_option('-l', '--locale', dest='locale', 
    53             help="The locale to process. Default is to process all.") 
    54     parser.add_option('--settings', 
    55         help='Python path to settings module, e.g. "myproject.settings". If provided, all LOCALE_PATHS will be processed. If this isn\'t provided, the DJANGO_SETTINGS_MODULE environment variable will be checked as well.') 
    56     options, args = parser.parse_args() 
    57     if len(args): 
    58         parser.error("This program takes no arguments") 
    59     if options.settings: 
    60         os.environ['DJANGO_SETTINGS_MODULE'] = options.settings 
    61     compile_messages(options.locale) 
    62  
    63 if __name__ == "__main__": 
    64     main() 
  • django/branches/gis/django/bin/daily_cleanup.py

    r5492 r7918  
    88""" 
    99 
    10 import datetime 
    11 from django.db import transaction 
    12 from django.contrib.sessions.models import Session 
    13  
    14 def clean_up(): 
    15     """Clean up expired sessions.""" 
    16     Session.objects.filter(expire_date__lt=datetime.datetime.now()).delete() 
    17     transaction.commit_unless_managed() 
     10from django.core import management 
    1811 
    1912if __name__ == "__main__": 
    20     clean_up(
     13    management.call_command('cleanup'
  • django/branches/gis/django/bin/make-messages.py

    r7482 r7918  
    11#!/usr/bin/env python 
    22 
    3 # Need to ensure that the i18n framework is enabled 
    4 from django.conf import settings 
    5 settings.configure(USE_I18N = True) 
     3if __name__ == "__main__": 
     4    import sys 
     5    name = sys.argv[0] 
     6    args = ' '.join(sys.argv[1:]) 
     7    print >> sys.stderr, "%s has been moved into django-admin.py" % name 
     8    print >> sys.stderr, 'Please run "django-admin.py makemessages %s" instead.'% args 
     9    print >> sys.stderr 
     10    sys.exit(1) 
    611 
    7 from django.utils.translation import templatize 
    8 import re 
    9 import os 
    10 import sys 
    11 import getopt 
    12 from itertools import dropwhile 
    13  
    14 pythonize_re = re.compile(r'\n\s*//') 
    15  
    16 def make_messages(): 
    17     localedir = None 
    18  
    19     if os.path.isdir(os.path.join('conf', 'locale')): 
    20         localedir = os.path.abspath(os.path.join('conf', 'locale')) 
    21     elif os.path.isdir('locale'): 
    22         localedir = os.path.abspath('locale') 
    23     else: 
    24         print "This script should be run from the django svn tree or your project or app tree." 
    25         print "If you did indeed run it from the svn checkout or your project or application," 
    26         print "maybe you are just missing the conf/locale (in the django tree) or locale (for project" 
    27         print "and application) directory?" 
    28         print "make-messages.py doesn't create it automatically, you have to create it by hand if" 
    29         print "you want to enable i18n for your project or application." 
    30         sys.exit(1) 
    31  
    32     (opts, args) = getopt.getopt(sys.argv[1:], 'l:d:va') 
    33  
    34     lang = None 
    35     domain = 'django' 
    36     verbose = False 
    37     all = False 
    38  
    39     for o, v in opts: 
    40         if o == '-l': 
    41             lang = v 
    42         elif o == '-d': 
    43             domain = v 
    44         elif o == '-v': 
    45             verbose = True 
    46         elif o == '-a': 
    47             all = True 
    48  
    49     if domain not in ('django', 'djangojs'): 
    50         print "currently make-messages.py only supports domains 'django' and 'djangojs'" 
    51         sys.exit(1) 
    52     if (lang is None and not all) or domain is None: 
    53         print "usage: make-messages.py -l <language>" 
    54         print "   or: make-messages.py -a" 
    55         sys.exit(1) 
    56  
    57     languages = [] 
    58  
    59     if lang is not None: 
    60         languages.append(lang) 
    61     elif all: 
    62         languages = [el for el in os.listdir(localedir) if not el.startswith('.')] 
    63  
    64     for lang in languages: 
    65  
    66         print "processing language", lang 
    67         basedir = os.path.join(localedir, lang, 'LC_MESSAGES') 
    68         if not os.path.isdir(basedir): 
    69             os.makedirs(basedir) 
    70  
    71         pofile = os.path.join(basedir, '%s.po' % domain) 
    72         potfile = os.path.join(basedir, '%s.pot' % domain) 
    73  
    74         if os.path.exists(potfile): 
    75             os.unlink(potfile) 
    76  
    77         all_files = [] 
    78         for (dirpath, dirnames, filenames) in os.walk("."): 
    79             all_files.extend([(dirpath, f) for f in filenames]) 
    80         all_files.sort() 
    81         for dirpath, file in all_files: 
    82             if domain == 'djangojs' and file.endswith('.js'): 
    83                 if verbose: sys.stdout.write('processing file %s in %s\n' % (file, dirpath)) 
    84                 src = open(os.path.join(dirpath, file), "rb").read() 
    85                 src = pythonize_re.sub('\n#', src) 
    86                 open(os.path.join(dirpath, '%s.py' % file), "wb").write(src) 
    87                 thefile = '%s.py' % file 
    88                 cmd = 'xgettext -d %s -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % (domain, os.path.join(dirpath, thefile)) 
    89                 (stdin, stdout, stderr) = os.popen3(cmd, 't') 
    90                 msgs = stdout.read() 
    91                 errors = stderr.read() 
    92                 if errors: 
    93                     print "errors happened while running xgettext on %s" % file 
    94                     print errors 
    95                     sys.exit(8) 
    96                 old = '#: '+os.path.join(dirpath, thefile)[2:] 
    97                 new = '#: '+os.path.join(dirpath, file)[2:] 
    98                 msgs = msgs.replace(old, new) 
    99                 if os.path.exists(potfile): 
    100                     # Strip the header 
    101                     msgs = '\n'.join(dropwhile(len, msgs.split('\n'))) 
    102                 else: 
    103                     msgs = msgs.replace('charset=CHARSET', 'charset=UTF-8') 
    104                 if msgs: 
    105                     open(potfile, 'ab').write(msgs) 
    106                 os.unlink(os.path.join(dirpath, thefile)) 
    107             elif domain == 'django' and (file.endswith('.py') or file.endswith('.html')): 
    108                 thefile = file 
    109                 if file.endswith('.html'): 
    110                     src = open(os.path.join(dirpath, file), "rb").read() 
    111                     thefile = '%s.py' % file 
    112                     open(os.path.join(dirpath, thefile), "wb").write(templatize(src)) 
    113                 if verbose: 
    114                     sys.stdout.write('processing file %s in %s\n' % (file, dirpath)) 
    115                 cmd = 'xgettext -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --keyword=ugettext_noop --keyword=ugettext_lazy --keyword=ungettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % ( 
    116                     domain, os.path.join(dirpath, thefile)) 
    117                 (stdin, stdout, stderr) = os.popen3(cmd, 't') 
    118                 msgs = stdout.read() 
    119                 errors = stderr.read() 
    120                 if errors: 
    121                     print "errors happened while running xgettext on %s" % file 
    122                     print errors 
    123                     sys.exit(8) 
    124                 if thefile != file: 
    125                     old = '#: '+os.path.join(dirpath, thefile)[2:] 
    126                     new = '#: '+os.path.join(dirpath, file)[2:] 
    127                     msgs = msgs.replace(old, new) 
    128                 if os.path.exists(potfile): 
    129                     # Strip the header 
    130                     msgs = '\n'.join(dropwhile(len, msgs.split('\n'))) 
    131                 else: 
    132                     msgs = msgs.replace('charset=CHARSET', 'charset=UTF-8') 
    133                 if msgs: 
    134                     open(potfile, 'ab').write(msgs) 
    135                 if thefile != file: 
    136                     os.unlink(os.path.join(dirpath, thefile)) 
    137  
    138         if os.path.exists(potfile): 
    139             (stdin, stdout, stderr) = os.popen3('msguniq --to-code=utf-8 "%s"' % potfile, 'b') 
    140             msgs = stdout.read() 
    141             errors = stderr.read() 
    142             if errors: 
    143                 print "errors happened while running msguniq" 
    144                 print errors 
    145                 sys.exit(8) 
    146             open(potfile, 'w').write(msgs) 
    147             if os.path.exists(pofile): 
    148                 (stdin, stdout, stderr) = os.popen3('msgmerge -q "%s" "%s"' % (pofile, potfile), 'b') 
    149                 msgs = stdout.read() 
    150                 errors = stderr.read() 
    151                 if errors: 
    152                     print "errors happened while running msgmerge" 
    153                     print errors 
    154                     sys.exit(8) 
    155             open(pofile, 'wb').write(msgs) 
    156             os.unlink(potfile) 
    157  
    158 if __name__ == "__main__": 
    159     make_messages() 
  • django/branches/gis/django/conf/__init__.py

    r6990 r7918  
    7272        self._target = holder 
    7373 
     74    def configured(self): 
     75        """ 
     76        Returns True if the settings have already been configured. 
     77        """ 
     78        return bool(self._target) 
     79    configured = property(configured) 
     80 
    7481class Settings(object): 
    7582    def __init__(self, settings_module): 
  • django/branches/gis/django/conf/locale/it/LC_MESSAGES/django.po

    r7573 r7918  
    77"Project-Id-Version: Django vSVN\n" 
    88"Report-Msgid-Bugs-To: \n" 
    9 "POT-Creation-Date: 2008-06-02 18:40+0200\n" 
    10 "PO-Revision-Date: 2008-05-18 19:13+0200\n" 
     9"POT-Creation-Date: 2008-07-12 20:30+0200\n" 
     10"PO-Revision-Date: 2008-07-12 20:45+0200\n" 
    1111"Last-Translator: Nicola Larosa <nico@tekNico.net>\n" 
    1212"Language-Team: Italiano\n" 
     
    1717"Plural-Forms:  nplurals=2; plural=(n != 1);\n" 
    1818 
    19 #: conf/global_settings.py:43 
     19#: conf/global_settings.py:44 
    2020msgid "Arabic" 
    2121msgstr "Arabo" 
    2222 
    23 #: conf/global_settings.py:44 
     23#: conf/global_settings.py:45 
    2424msgid "Bengali" 
    2525msgstr "Bengali" 
    2626 
    27 #: conf/global_settings.py:45 
     27#: conf/global_settings.py:46 
    2828msgid "Bulgarian" 
    2929msgstr "Bulgaro" 
    3030 
    31 #: conf/global_settings.py:46 
     31#: conf/global_settings.py:47 
    3232msgid "Catalan" 
    3333msgstr "Catalano" 
    3434 
    35 #: conf/global_settings.py:47 
     35#: conf/global_settings.py:48 
    3636msgid "Czech" 
    3737msgstr "Ceco" 
    3838 
    39 #: conf/global_settings.py:48 
     39#: conf/global_settings.py:49 
    4040msgid "Welsh" 
    4141msgstr "Gallese" 
    4242 
    43 #: conf/global_settings.py:49 
     43#: conf/global_settings.py:50 
    4444msgid "Danish" 
    4545msgstr "Danese" 
    4646 
    47 #: conf/global_settings.py:50 
     47#: conf/global_settings.py:51 
    4848msgid "German" 
    4949msgstr "Tedesco" 
    5050 
    51 #: conf/global_settings.py:51 
     51#: conf/global_settings.py:52 
    5252msgid "Greek" 
    5353msgstr "Greco" 
    5454 
    55 #: conf/global_settings.py:52 
     55#: conf/global_settings.py:53 
    5656msgid "English" 
    5757msgstr "Inglese" 
    5858 
    59 #: conf/global_settings.py:53 
     59#: conf/global_settings.py:54 
    6060msgid "Spanish" 
    6161msgstr "Spagnolo" 
    6262 
    63 #: conf/global_settings.py:54 
     63#: conf/global_settings.py:55 
     64msgid "Estonian" 
     65msgstr "Estone" 
     66 
     67#: conf/global_settings.py:56 
    6468msgid "Argentinean Spanish" 
    6569msgstr "Spagnolo argentino" 
    6670 
    67 #: conf/global_settings.py:55 
     71#: conf/global_settings.py:57 
    6872msgid "Basque" 
    6973msgstr "Basco" 
    7074 
    71 #: conf/global_settings.py:56 
     75#: conf/global_settings.py:58 
    7276msgid "Persian" 
    7377msgstr "Persiano" 
    7478 
    75 #: conf/global_settings.py:57 
     79#: conf/global_settings.py:59 
    7680msgid "Finnish" 
    7781msgstr "Finlandese" 
    7882 
    79 #: conf/global_settings.py:58 
     83#: conf/global_settings.py:60 
    8084msgid "French" 
    8185msgstr "Francese" 
    8286 
    83 #: conf/global_settings.py:59 
     87#: conf/global_settings.py:61 
    8488msgid "Irish" 
    8589msgstr "Irlandese" 
    8690 
    87 #: conf/global_settings.py:60 
     91#: conf/global_settings.py:62 
    8892msgid "Galician" 
    8993msgstr "Galiziano" 
    9094 
    91 #: conf/global_settings.py:61 
     95#: conf/global_settings.py:63 
    9296msgid "Hungarian" 
    9397msgstr "Ungherese" 
    9498 
    95 #: conf/global_settings.py:62 
     99#: conf/global_settings.py:64 
    96100msgid "Hebrew" 
    97101msgstr "Ebraico" 
    98102 
    99 #: conf/global_settings.py:63 
     103#: conf/global_settings.py:65 
    100104msgid "Croatian" 
    101105msgstr "Croato" 
    102106 
    103 #: conf/global_settings.py:64 
     107#: conf/global_settings.py:66 
    104108msgid "Icelandic" 
    105109msgstr "Islandese" 
    106110 
    107 #: conf/global_settings.py:65 
     111#: conf/global_settings.py:67 
    108112msgid "Italian" 
    109113msgstr "Italiano" 
    110114 
    111 #: conf/global_settings.py:66 
     115#: conf/global_settings.py:68 
    112116msgid "Japanese" 
    113117msgstr "Giapponese" 
    114118 
    115 #: conf/global_settings.py:67 
     119#: conf/global_settings.py:69 
    116120msgid "Georgian" 
    117121msgstr "Georgiano" 
    118122 
    119 #: conf/global_settings.py:68 
     123#: conf/global_settings.py:70 
    120124msgid "Korean" 
    121125msgstr "Coreano" 
    122126 
    123 #: conf/global_settings.py:69 
     127#: conf/global_settings.py:71 
    124128msgid "Khmer" 
    125129msgstr "Khmer" 
    126130 
    127 #: conf/global_settings.py:70 
     131#: conf/global_settings.py:72 
    128132msgid "Kannada" 
    129133msgstr "Kannada" 
    130134 
    131 #: conf/global_settings.py:71 
     135#: conf/global_settings.py:73 
    132136msgid "Latvian" 
    133137msgstr "Lettone" 
    134138 
    135 #: conf/global_settings.py:72 
     139#: conf/global_settings.py:74 
     140msgid "Lithuanian" 
     141msgstr "Lituano" 
     142 
     143#: conf/global_settings.py:75 
    136144msgid "Macedonian" 
    137145msgstr "Macedone" 
    138146 
    139 #: conf/global_settings.py:73 
     147#: conf/global_settings.py:76 
    140148msgid "Dutch" 
    141149msgstr "Olandese" 
    142150 
    143 #: conf/global_settings.py:74 
     151#: conf/global_settings.py:77 
    144152msgid "Norwegian" 
    145153msgstr "Norvegese" 
    146154 
    147 #: conf/global_settings.py:75 
     155#: conf/global_settings.py:78 
    148156msgid "Polish" 
    149157msgstr "Polacco" 
    150158 
    151 #: conf/global_settings.py:76 
     159#: conf/global_settings.py:79 
    152160msgid "Portugese" 
    153161msgstr "Portoghese" 
    154162 
    155 #: conf/global_settings.py:77 
     163#: conf/global_settings.py:80 
    156164msgid "Brazilian Portuguese" 
    157165msgstr "Brasiliano Portoghese" 
    158166 
    159 #: conf/global_settings.py:78 
     167#: conf/global_settings.py:81 
    160168msgid "Romanian" 
    161169msgstr "Rumeno" 
    162170 
    163 #: conf/global_settings.py:79 
     171#: conf/global_settings.py:82 
    164172msgid "Russian" 
    165173msgstr "Russo" 
    166174 
    167 #: conf/global_settings.py:80 
     175#: conf/global_settings.py:83 
    168176msgid "Slovak" 
    169177msgstr "Slovacco" 
    170178 
    171 #: conf/global_settings.py:81 
     179#: conf/global_settings.py:84 
    172180msgid "Slovenian" 
    173181msgstr "Sloveno" 
    174182 
    175 #: conf/global_settings.py:82 
     183#: conf/global_settings.py:85 
    176184msgid "Serbian" 
    177185msgstr "Serbo" 
    178186 
    179 #: conf/global_settings.py:83 
     187#: conf/global_settings.py:86 
    180188msgid "Swedish" 
    181189msgstr "Svedese" 
    182190 
    183 #: conf/global_settings.py:84 
     191#: conf/global_settings.py:87 
    184192msgid "Tamil" 
    185193msgstr "Tamil" 
    186194 
    187 #: conf/global_settings.py:85 
     195#: conf/global_settings.py:88 
    188196msgid "Telugu" 
    189197msgstr "Telugu" 
    190198 
    191 #: conf/global_settings.py:86 
     199#: conf/global_settings.py:89 
    192200msgid "Turkish" 
    193201msgstr "Turco" 
    194202 
    195 #: conf/global_settings.py:87 
     203#: conf/global_settings.py:90 
    196204msgid "Ukrainian" 
    197205msgstr "Ucraino" 
    198206 
    199 #: conf/global_settings.py:88 
     207#: conf/global_settings.py:91 
    200208msgid "Simplified Chinese" 
    201209msgstr "Cinese semplificato" 
    202210 
    203 #: conf/global_settings.py:89 
     211#: conf/global_settings.py:92 
    204212msgid "Traditional Chinese" 
    205213msgstr "Cinese tradizionale" 
     
    11341142msgstr "gruppo" 
    11351143 
    1136 #: contrib/auth/models.py:98 contrib/auth/models.py:141 
     1144#: contrib/auth/models.py:98 contrib/auth/models.py:148 
    11371145msgid "groups" 
    11381146msgstr "gruppi" 
    11391147 
    1140 #: contrib/auth/models.py:131 
     1148#: contrib/auth/models.py:138 
    11411149msgid "username" 
    11421150msgstr "nome utente" 
    11431151 
    1144 #: contrib/auth/models.py:131 
     1152#: contrib/auth/models.py:138 
    11451153msgid "" 
    11461154"Required. 30 characters or fewer. Alphanumeric characters only (letters, " 
     
    11501158"cifre e sottolineati)." 
    11511159 
    1152 #: contrib/auth/models.py:132 
     1160#: contrib/auth/models.py:139 
    11531161msgid "first name" 
    11541162msgstr "nome" 
    11551163 
    1156 #: contrib/auth/models.py:133 
     1164#: contrib/auth/models.py:140 
    11571165msgid "last name" 
    11581166msgstr "cognome" 
    11591167 
    1160 #: contrib/auth/models.py:134 
     1168#: contrib/auth/models.py:141 
    11611169msgid "e-mail address" 
    11621170msgstr "indirizzo e-mail" 
    11631171 
    1164 #: contrib/auth/models.py:135 
     1172#: contrib/auth/models.py:142 
    11651173msgid "password" 
    11661174msgstr "password" 
    11671175 
    1168 #: contrib/auth/models.py:135 
     1176#: contrib/auth/models.py:142 
    11691177msgid "" 
    11701178"Use '[algo]$[salt]$[hexdigest]' or use the <a href=\"password/\">change " 
     
    11741182"di cambio password</a>." 
    11751183 
    1176 #: contrib/auth/models.py:136 
     1184#: contrib/auth/models.py:143 
    11771185msgid "staff status" 
    11781186msgstr "privilegi di staff" 
    11791187 
    1180 #: contrib/auth/models.py:136 
     1188#: contrib/auth/models.py:143 
    11811189msgid "Designates whether the user can log into this admin site." 
    11821190msgstr "Indica se l'utente può accedere a questo sito di amministrazione." 
    11831191 
    1184 #: contrib/auth/models.py:137 
     1192#: contrib/auth/models.py:144 
    11851193msgid "active" 
    11861194msgstr "attivo" 
    11871195 
    1188 #: contrib/auth/models.py:137 
     1196#: contrib/auth/models.py:144 
    11891197msgid "" 
    11901198"Designates whether this user should be treated as active. Unselect this " 
     
    11941202"qui, piuttosto che cancellare gli account." 
    11951203 
    1196 #: contrib/auth/models.py:138 
     1204#: contrib/auth/models.py:145 
    11971205msgid "superuser status" 
    11981206msgstr "privilegi di superutente" 
    11991207 
    1200 #: contrib/auth/models.py:138 
     1208#: contrib/auth/models.py:145 
    12011209msgid "" 
    12021210"Designates that this user has all permissions without explicitly assigning " 
     
    12061214"esplicitamente." 
    12071215 
    1208 #: contrib/auth/models.py:139 
     1216#: contrib/auth/models.py:146 
    12091217msgid "last login" 
    12101218msgstr "ultimo accesso" 
    12111219 
    1212 #: contrib/auth/models.py:140 
     1220#: contrib/auth/models.py:147 
    12131221msgid "date joined" 
    12141222msgstr "iscritto in data" 
    12151223 
    1216 #: contrib/auth/models.py:142 
     1224#: contrib/auth/models.py:149 
    12171225msgid "" 
    12181226"In addition to the permissions manually assigned, this user will also get " 
     
    12221230"tutti i privilegi assegnati ad ogni gruppo cui appartiene." 
    12231231 
    1224 #: contrib/auth/models.py:143 
     1232#: contrib/auth/models.py:150 
    12251233msgid "user permissions" 
    12261234msgstr "privilegi utente" 
    12271235 
    1228 #: contrib/auth/models.py:147 
     1236#: contrib/auth/models.py:154 
    12291237msgid "user" 
    12301238msgstr "utente" 
    12311239 
    1232 #: contrib/auth/models.py:148 
     1240#: contrib/auth/models.py:155 
    12331241msgid "users" 
    12341242msgstr "utenti" 
    12351243 
    1236 #: contrib/auth/models.py:154 
     1244#: contrib/auth/models.py:160 
    12371245msgid "Personal info" 
    12381246msgstr "Informazioni personali" 
    12391247 
    1240 #: contrib/auth/models.py:155 
     1248#: contrib/auth/models.py:161 
    12411249msgid "Permissions" 
    12421250msgstr "Permessi" 
    12431251 
    1244 #: contrib/auth/models.py:156 
     1252#: contrib/auth/models.py:162 
    12451253msgid "Important dates" 
    12461254msgstr "Date importanti" 
    12471255 
    1248 #: contrib/auth/models.py:157 
     1256#: contrib/auth/models.py:163 
    12491257msgid "Groups" 
    12501258msgstr "Gruppi" 
    12511259 
    1252 #: contrib/auth/models.py:316 
     1260#: contrib/auth/models.py:323 
    12531261msgid "message" 
    12541262msgstr "messaggio" 
    12551263 
    1256 #: contrib/auth/views.py:47 
     1264#: contrib/auth/views.py:49 
    12571265msgid "Logged out" 
    12581266msgstr "Accesso annullato" 
     
    35243532msgstr "redirezioni" 
    35253533 
    3526 #: contrib/sessions/models.py:41 
     3534#: contrib/sessions/models.py:45 
    35273535msgid "session key" 
    35283536msgstr "chiave di sessione" 
    35293537 
    3530 #: contrib/sessions/models.py:42 
     3538#: contrib/sessions/models.py:47 
    35313539msgid "session data" 
    35323540msgstr "dati di sessione" 
    35333541 
    3534 #: contrib/sessions/models.py:43 
     3542#: contrib/sessions/models.py:48 
    35353543msgid "expire date" 
    35363544msgstr "data di scadenza" 
    35373545 
    3538 #: contrib/sessions/models.py:48 
     3546#: contrib/sessions/models.py:53 
    35393547msgid "session" 
    35403548msgstr "sessione" 
    35413549 
    3542 #: contrib/sessions/models.py:49 
     3550#: contrib/sessions/models.py:54 
    35433551msgid "sessions" 
    35443552msgstr "sessioni" 
     
    36083616msgstr "Questo valore non può essere composto solo da cifre." 
    36093617 
    3610 #: core/validators.py:128 newforms/fields.py:152 
     3618#: core/validators.py:128 newforms/fields.py:157 
    36113619msgid "Enter a whole number." 
    36123620msgstr "Inserire un numero intero." 
     
    36253633msgstr "Data non valida: %s" 
    36263634 
    3627 #: core/validators.py:156 db/models/fields/__init__.py:548 
     3635#: core/validators.py:156 db/models/fields/__init__.py:554 
    36283636msgid "Enter a valid date in YYYY-MM-DD format." 
    36293637msgstr "Inserire una data valida in formato AAAA-MM-GG." 
     
    36333641msgstr "Inserire un ora valida in formato OO:MM." 
    36343642 
    3635