Re: Test Application Without it's own models

2009-12-08 Thread spool
Hi I've got the same problem. Here's what I'd like to do: I'm trying to create a generic "time_series" app, which has models which are inherited by other apps but are not functional by themselves. I would like to create test models in tests.py, and then run unittests on them. from django.test imp

template for key, value problem

2007-10-12 Thread spool
hi, i give to my template a variable like this messages = ({ 'forum': forum, 'url': request.get_full_path() }) debug_msg = {'view': 'topic', 'messages': messages } then i try to output this via {% for key, value in debug.debug_msg %} {{ key }}: {{ value }} {% endfor %} looks l