[Dev-flock] Recent changes
Daniel Ring
danring at MIT.EDU
Fri Nov 2 16:29:26 EDT 2007
I copied the files we're actually using into /web/hm and removed files
we're no longer using. Those are still available in /web/src, but the
main tree is now /web/hm, and /web/src will be 'svn delete'd eventually.
Also, you can now make your own settings.py file in
/web/hm/env/<you>/settings.py. This file is appended to the normal
settings.py file, so you can use modify settings and add to them (like
middleware, if you want or don't want sql_log, for example). You should
create a file hm/env/CURRENT containing only the name of the directory
your settings.py is in (I do "echo 'dan' > env/CURRENT").
Non-linux devs: I think the settings.py changes are compatible, but if
you have any problems, let me know.
Other changes:
- there's only one media directory now, called 'media'
- templates should always be referenced relative to hm/app/templates, so
"base.html" instead of "hm/app/templates/base.html" (or
"Main/templates/base.html").
- Django templates are now cross-platform! They can be rendered on the
client side (with a few restrictions on features we haven't used yet).
- ratings can be added; aggregations are beginning to work - right now
the average rating of a behavior is available, and average rating for a
node is available but unweighted and unfiltered
I'm working on making the template system better/persistent/updatable,
especially with regard to forms and validations. I'd like to hear
suggestions.
More information about the Dev-flock
mailing list