Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(8)  |  Derive(0)  |  Import(5)

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_025.py   Django-hotsauce(Download)
 
# this requires the markdown2 package, available separately
from notmm.utils.markup import convert2markdown
 
#import hmac
    def convert_to_html(self, name='sender_message'):
        return convert2markdown(getattr(self, name))
 
    def __repr__(self):
        return "<%s: %s>" % (self.sender_name, self.blogentry)
            # Can only convert strings, not _UNASSIGNED or None fields.. 
            value = getattr(self, name)
            return convert2markdown(value)
        except AttributeError as e:
            raise e

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_024.py   Django-hotsauce(Download)
 
# this requires the markdown2 package, available separately
from notmm.utils.markup import convert2markdown
 
#import hmac
    def convert_to_html(self, name='sender_message'):
        return convert2markdown(getattr(self, name))
 
    def __repr__(self):
        return "<%s: %s>" % (self.sender_name, self.blogentry)
            # Can only convert strings, not _UNASSIGNED or None fields.. 
            value = getattr(self, name)
            return convert2markdown(value)
        except AttributeError as e:
            raise e

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_023.py   Django-hotsauce(Download)
 
# this requires the markdown2 package, available separately
from notmm.utils.markup import convert2markdown
 
#import hmac
    def convert_to_html(self, name='sender_message'):
        return convert2markdown(getattr(self, name))
 
    def __repr__(self):
        return "<%s: %s>" % (self.sender_name, self.blogentry)
            # Can only convert strings, not _UNASSIGNED or None fields.. 
            value = getattr(self, name)
            html = convert2markdown(value)
            return html
        except AttributeError as e:

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_022.py   Django-hotsauce(Download)
 
# this requires the markdown2 package, available separately
from notmm.utils.markup import convert2markdown
 
#import hmac
    def convert_to_html(self, name='sender_message'):
        return convert2markdown(getattr(self, name))
 
    def __repr__(self):
        return "<%s: %s>" % (self.sender_name, self.blogentry)
            # Can only convert strings, not _UNASSIGNED or None fields.. 
            value = getattr(self, name)
            html = convert2markdown(value)
            return html
        except AttributeError as e:

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/contrib/poll/schema/poll_001.py   Django-hotsauce(Download)
# XXX django compat <= 1.3
from notmm.utils.decorators import permalink
from notmm.utils.markup import convert2markdown
 
__all__ = ['Vote', 'Poll']