Commits on Sep 2, 2012
  1. Wrap long lines in py files

    hyperair committed Sep 2, 2012
Commits on Sep 1, 2012
  1. Delete trailing whitespaces

    hyperair committed Sep 1, 2012
  2. Merge pull request #9 from rctay/rc/improve-setup

    some improvements to the set up instructions
    ruiwen committed Sep 1, 2012
  3. readme: colons before code

    rctay committed Sep 1, 2012
  4. readme: reword

    rctay committed Sep 1, 2012
  5. readme: mention activate!

    Shift `cd dev` down so we can show we are in the virtualenv.
    rctay committed Sep 1, 2012
Commits on Aug 12, 2012
  1. Updating tests

    ruiwen committed Aug 12, 2012
  2. Checking if start date is not actually the first of the month before …

    …attempting to change it
    ruiwen committed Aug 12, 2012
  3. Since __month_diff takes into account partial months, we no longer ne…

    …ed these magic numbers
    ruiwen committed Aug 12, 2012
  4. Calculating month-delta as a whole, and subtracting one day, to keep …

    …it within the month boundary
    ruiwen committed Aug 12, 2012
Commits on Jul 18, 2012
  1. Upgrading to South 0.7.5, which seems to solve an issue with migratio…

    …n 0004 on hado
    Fixes #6
    ruiwen committed Jul 18, 2012
Commits on May 20, 2012
  1. Implementing invoice API

    ruiwen committed May 20, 2012
Commits on Jan 1, 2012
Commits on Dec 30, 2011
  1. Removing media attribute for style.css to facilitate printing until w…

    …e can come up with a proper print stylesheet
    ruiwen committed Dec 30, 2011
Commits on Dec 17, 2011
  1. Removing unneeded comments

    ruiwen committed Dec 17, 2011
Commits on Nov 7, 2011
  1. latest() returns a single object, not a QuerySet, so we need to handl…

    …e that appropriately
    ruiwen committed Nov 7, 2011
Commits on Sep 24, 2011
  1. relativedelta.months only returns the difference between the month nu…

    …mbers, eg. it returns 4 for the difference between May 2010 and Sept 2011, month 5 to month 9.
    So in, we've refactored month difference calculation into it's own method, taking into account the number of years by which two given dates are separated.
    In, we simply perform the same calculation as in Contract.__month_diff manually in the test to arrive at the same result.
    Also, we import from dateutil.relativedelta, instead of one level higher with just dateutil
    ruiwen committed Sep 24, 2011
  2. Fixes the TypeError: save() got an unexpected keyword argument 'force…

    …_insert' error by passing *args and **kwargs through our overridden save()
    Also, our save() checks to see if we're dealing with an existing object, force_update'ing if so, or force_insert'ing if we are to insert a new record
    ruiwen committed Sep 24, 2011
  3. The QuerySet ms doesn't have the method pop(), so we just access the …

    …first item directly with the 0 index
    ruiwen committed Sep 24, 2011