Answering my own question from a few days ago, this:
choice_vals = scene.begin_scene.all().values()
ChoiceFormFactory = formset_factory(ChoiceForm)
formset = ChoiceFormFactory(initial=choice_vals)
is all wrong. I needed to be using a modelformset_factory, not a
formset_factory, with a
I notice that the conversation is mostly about IIS vs Apache.
You'll also want to think about the database. Django doesn't have
built in support for MSSQL. You could run Postgres or MySQL on
Windows, or there are some adapters for Django that will let it talk
to SQL Server. Either way, you'll prob
On Fri, Oct 29, 2010 at 11:58 AM, Bill Brigham wrote:
> On a questionnaire, you have one or more questions which will require
> either an essay answer or multiple choice answers. When creating a new
> questionnaire, I would like to show a textarea for the Question.text
> common to both types, a r
I wrote a little concentration game in Django and put it up on Google
App Engine:
http://matt-scratch.appspot.com/
I'm sure there are some awkward places in the code where I could
leverage Django better. If anyone is curious and would like to
comment or make suggestions, the source code (Django
On Fri, Sep 12, 2008 at 1:58 PM, Kevin Teague <[EMAIL PROTECTED]> wrote:
> Finally, you could patch a Python program such as manage.py so that
> you do something like:
>
> import sys
> sys.path[0:0] = [
> '\somelocation-for-django-1.0\',
> ]
> import django
>
> This would pick up your Django 1.
On Fri, Sep 12, 2008 at 11:15 AM, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> Matt Conrad wrote:
>> 2008/9/12 Jarek Zgoda <[EMAIL PROTECTED]>:
>>> Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate
>>> environments for each django ve
On Fri, Sep 12, 2008 at 11:15 AM, Jeff Anderson
<[EMAIL PROTECTED]> wrote:
> You can influence what this list is, by setting the PYTHONPATH
> environmental variable. All you need to do is set your PYTHONPATH
> appropriately, and point it to the appropriate place, depending on which
> Django insta
2008/9/12 Jarek Zgoda <[EMAIL PROTECTED]>:
>
> Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate
> environments for each django version.
Thanks Jarek. I will try the directory based approach first, but also
keep this in mind.
Matt
--~--~-~--~~~--
Thanks for the reply. I don't quite understand yet. Let's see how close I am.
I have a Python application directory (on my machine,
C:\apps\Python25\). Inside that directory I have
\Lib\site-packages\django, which is currently v0.96.
Right now, the PYTHONPATH environment variable is not set at
9 matches
Mail list logo