This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
akaihola's attachments to http://github.com/william-os4y/fapws3/issues/#issue/2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
tracwiki2html.py v1.0 (c) 2009 Antti Kaihola <[email protected]> | |
This script converts Trac wiki markup to HTML. | |
Usage: | |
tracwiki2html.py file1.txt [file2.txt ...] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
VERSION = '0.03' | |
__doc__ = """ | |
SYNOPSIS | |
setskypestatus.py [-h,--help] [-v,--verbose] [--version] [ONLINE|DND|AWAY [mood text]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.core import validators | |
from django.forms import MultiValueField | |
from django.forms.util import ErrorList | |
from django.core.exceptions import ValidationError | |
class ProperMultiValueField(MultiValueField): | |
"""django.forms.fields.MultiValueField with a validation fix | |
If a MultiValueField is ``required=True``, it should still be | |
valid even if one or more of the sub-fields are empty. In Django |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
An inline formset which deletes objects when all visible fields are empty or | |
all-whitespace instead of using the delete checkbox. | |
See | |
http://groups.google.com/group/django-users/browse_thread/thread/23539f5e085e62b0 | |
for discussion. | |
""" | |
from django.forms import HiddenInput, ValidationError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
This is a script which runs and parses the output of various Python code | |
checking and unit test runner programs to work with flymake. It has lots of | |
issues, one being that flymake does not seem to show more than one error | |
message per line of code, meaning that an error or warning which is | |
intentionally left unfixed can mask an error or warning that would get more | |
attention. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Helpers for removing duplicate messages in an IMAP mailbox | |
Dependency: IMAPClient (easy_install IMAPClient) | |
Author: Antti Kaihola <[email protected]> | |
License: New BSD license | |
""" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Many-to-many formsets for Django |
OlderNewer