real_content/templatetags/drc.py
def drc_number(start=DRC_NUMBER_START, end=DRC_NUMBER_END):
    u"""
    Return a random number inbetween start and end limits.
    """
    try:
        int(start), int(end)
        if start <= end:
            return random.randint(int(start), int(end))
        else:
            return drc_number(end, start)
    except ValueError:
        return 'please provide a number as an argument'
u"""
    Return a random number inbetween start and end limits.
    
u"""
Return a random number inbetween start and end limits.
u " " " Return a random number inbetween start and end limits .
def drc_number(start=DRC_NUMBER_START, end=DRC_NUMBER_END):
    try:
        int(start), int(end)
        if start <= end:
            return random.randint(int(start), int(end))
        else:
            return drc_number(end, start)
    except ValueError:
        return 'please provide a number as an argument'
def drc_number ( start = DRC_NUMBER_START , end = DRC_NUMBER_END ) : try : int ( start ) , int ( end ) if start <= end : return random . randint ( int ( start ) , int ( end ) ) else : return drc_number ( end , start ) except ValueError : return 'please provide a number as an argument'
u"""
Return a random number inbetween start and end limits.
u " " " Return a random number inbetween start and end limits .
u"""
    Return a random number inbetween start and end limits.
    """
start
end