On Mar 15, 2:36 pm, Ben Dembroski wrote:
> On Mar 15, 2:22 pm, Tom Evans wrote:
>
>
>
> > On Tue, Mar 15, 2011 at 2:14 PM, Ben Dembroski
> > wrote:
> > > Hi all,
>
> > > I'm trying to pass a ValidationError as a string to a template, but
On Mar 15, 2:22 pm, Tom Evans wrote:
> On Tue, Mar 15, 2011 at 2:14 PM, Ben Dembroski wrote:
> > Hi all,
>
> > I'm trying to pass a ValidationError as a string to a template, but I
> > can't seem to determine where to find the 'special key' that
Hi all,
I'm trying to pass a ValidationError as a string to a template, but I
can't seem to determine where to find the 'special key' that is
referred to in the documentation here:
http://docs.djangoproject.com/en/dev/ref/models/instances/
{quote}
Any ValidationError raised by Model.clean() will
My apologies to the list.
I just noticed the commas at the end of the lines in the views.py
file.
Once I got rid of those, all was much better.
On Feb 7, 11:33 pm, Ben Dembroski wrote:
> Hi all.
>
> Another silly question. I'm hoping someone here can explain something
> a
Hi all.
Another silly question. I'm hoping someone here can explain something
about the way form validation and processing is working in the
following example of User Registration:
>From forms.py
class RegistrationForm(forms.Form):
username = forms.CharField(label=u'Username', max_length=30
Aha !!
Is there a notice of this somewhere obvious on the website that I
missed?
Thanks again!
--
Ben
On Jan 31, 11:38 am, Łukasz Rekucki wrote:
> On 31 January 2011 12:17, Ben Dembroski wrote:
>
> > Hi all,
>
> > I was having the same trouble (using version 1.2). I do
Hi all,
I was having the same trouble (using version 1.2). I double checked
that I was looking at the correct documentation:
http://docs.djangoproject.com/en/1.2/howto/static-files/
and it does indicate that I should be truing to use
django.contrib.staticfiles .
Should I instead be using the d
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.6/dist-packages/django/db/backends/
sqlite3/base.py", line 200, in execute
return Database.Cursor.execute(self, query, params)
DatabaseError: no such column: sample_app_Person.dobestm
Any ideas ?
Thanks again!
On
chael wrote:
> The database tables are named {{app_label}}_{{model_name}}, so in order
> to use the same database you will need to use the same application name
> (or specify db_table in the model's Meta).
>
> --
> Michael
>
>
>
>
>
>
>
> On Tue, 2011-0
Hi all,
Afraid I've got another newbie question. I've been doing some
development on a project using sqlite3. All is working well, and I'd
like to use the same database file in another project, data intact.
I've copied the database file, and the models.py file to the
appropriate locations in th
Thanks. I do need to do some basic date arithmetic, but it doesn't
really need to be super accurate. I might be able to get away with
this approach.
Thanks for the advice!
Best,
Ben
On Jan 17, 10:52 pm, Christophe Pettus wrote:
> On Jan 17, 2011, at 2:00 PM, Ben Dembroski wrote:
&
Hi all,
I was planning on making a formal introduction to the group when I had
a chance. I'm afraid I come seek help instead.
I'm a relative newbie to both Python and Django, and in the middle of
my first Django project. My client is asking me to store and process
dates -- including dates BC.
12 matches
Mail list logo