Home > Uncategorized > Freiwild almost ready for Django 1.0.2

Freiwild almost ready for Django 1.0.2

December 19th, 2008 Leave a comment Go to comments

I’ve been working on our Freiwild Shop website today making it compatible with Django 1.0.2 (final(ly)!). Basically, what I’ve done is try to run it and fix where it errors following the direction documented in the manual. I think that the next days I’ll see how I can optimize the MySQL usage a bit.

The shop I’ve build has little models and doesn’t use to much fancy tricks. Among the changes:

  • Templates: extends should be on the first line
  • Models: should not contain anything Admin-related. This is actually very nice, seperating models.py and admin.py.
  • Model Fields: maxlength changed to max_length, oldforms/newforms options disappeared, small stuff like this.
  • Members like get__url() are gone, now replaced by imagefield.url

.. And more little stuff which kept me busy for almost 3 hours today. Add to that that last week I looked at moving to Satchmo Project, but it’s to much work to convert. Hopefully I can release the shop application I made later on, now Django has a ‘final’ release.

Oh, yes, and it’s using my MySQL Connector/Python (all Python implementation of MySQL protocol), which I will hopefully release soon! Comes with Django support, indeed!

  1. ondavian
    April 10th, 2009 at 13:01 | #1

    Still waiting for the MySQL connector :). It would be awesome if Sun would officially release one.

  1. No trackbacks yet.