<a...@clearwind.ca> wrote:
> On 17-Jun-09, at 12:48 PM, Keyton Weissinger wrote:
>
> > backends/util.py", line 19, in execute
> > return self.cursor.execute(sql, params)
> > DataError: value too long for type character varying(4)
>
> > Any ideas?
>
>
I have a nice test fixture that loads my local database without
incident. I'm using postgresql 8.3 at home on ubuntu. I use the
fixture at home all the time. Trying to run it on webfaction, I get
the following error:
[key...@web58 schoolicity]$ python2.5 manage.py loaddata
full_load.json
http://groups.google.com/group/django-users/browse_thread/thread/bde817d4620fdfec
On Tue, Jun 2, 2009 at 7:33 AM, Keyton Weissinger <key...@gmail.com> wrote:
> I know I'm in the minority, but I'm still having some trouble grokking
> the details of generic views. I keep thinking I sho
I know I'm in the minority, but I'm still having some trouble grokking
the details of generic views. I keep thinking I should be using them
but keep running into the same issue.
Here's my problem: I am building a mgmt site for schools in which
schools sign up for a monthly service fee. Most of
Supposed to ship today, no? Has anyone heard of a delay?
Keyton
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe
Something deep inside kept telling me it was something like that.
Grrr Love making the noob mistakes. NOT!
;-)
Thanks DR!
On Mar 24, 11:57 am, Daniel Roseman <roseman.dan...@googlemail.com>
wrote:
> On Mar 24, 3:42 pm, Keyton Weissinger <key...@gmail.com> wrote:
I'm using the extra_context dictionary passed into the view like many
folks (James Bennett among them) seem to recommend either directly or
via his projects.
Here is what a view might look like (all of this is on dpaste with
link below if you'd prefer):
from django.shortcuts import
I'm running django on an Apache 2.2 server on a Windows XP box. I'm
running django 1.0.2. I had a simple form/view that worked like a
champ in my ubuntu box but now suddenly bombs in the django forms
code.
Here's the trace: http://dpaste.com/16330/
Looking at other instances of similar
Hi Folks,
I've updated the django-batchimport project to version 0.2. This new
version allows for easy import of relationship data (many-to-many, for
example) for previously imported data -- even if your original data
doesn't have unique IDs. There's also the new ability to override
field values
Hi Malcolm,
Thank you VERY much for taking the time to explain this to me. It
makes perfect sense and since yesterday I've delved a bit deeper (than
ever) into the django code itself to understand a little more. You are
ABSOLUTELY right to point out that I'm in user-beware country. I don't
f quagmire if I can
Thank you VERY MUCH Martin and Malcolm. I appreciate your respective
looks at this problem very much. Your taking time to help with this
kind of thorny issue is what makes this community rock and, frankly,
inspires me to help out more.
Keyton
On Jan 21, 3:59 pm, Keyt
> M
>
> On Wed, Jan 21, 2009 at 3:06 PM, Keyton Weissinger <key...@gmail.com> wrote:
>
> > I'm on django 1.0.1 (NOT 1.0.2). Do you think that has any impact on
> > this problem? I will try upgrading tonight.
>
> > Any other ideas?
>
> > K
--~
I'm on django 1.0.1 (NOT 1.0.2). Do you think that has any impact on
this problem? I will try upgrading tonight.
Any other ideas?
K
On Jan 21, 8:33 am, Keyton Weissinger <key...@gmail.com> wrote:
> More information...
>
> I stuck the following into my code at the same place
with the same results.
Still stuck.
Keyton
On Jan 21, 8:13 am, Keyton Weissinger <key...@gmail.com> wrote:
> Oh, and I have printed the import_object_dict, it has exactly what I
> think it should... Argh!
>
> ;-)
>
> K
>
> On Jan 21, 12:12 am, Martin Conte Mac Done
Oh, and I have printed the import_object_dict, it has exactly what I
think it should... Argh!
;-)
K
On Jan 21, 12:12 am, Martin Conte Mac Donell <refl...@gmail.com>
wrote:
> On Wed, Jan 21, 2009 at 2:35 AM, Keyton Weissinger <key...@gmail.com> wrote:
>
> > Oh and just
Martin Conte Mac Donell <refl...@gmail.com>
wrote:
> On Wed, Jan 21, 2009 at 2:35 AM, Keyton Weissinger <key...@gmail.com> wrote:
>
> > Oh and just to re-state, this exact same code works like a champ on
> > import of School or Parent data (neither of which have
Oh and just to re-state, this exact same code works like a champ on
import of School or Parent data (neither of which have a ManyToMany
field).
Keyton
On Jan 20, 11:32 pm, Keyton Weissinger <key...@gmail.com> wrote:
> Hi Malcolm,
>
> Thanks very much for the quick reply. I'm
ay that just to rule out some problem with
the School object (a OneToMany) that *IS* being passed in.
I appreciate any time you have to spend on it very much.
Best,
Keyton
On Jan 20, 11:02 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Tue, 2009-01-20 at 19:32 -
Hello,
OK. I'm totally stuck. I am trying to create an object (of type
Student -- see below) with the following:
new_student = Student.objects.create(**import_object_dict)
I'm using the following dictionary as "import_object_dict" above
(aside from the name of the school, this is fake data, so
Hi All.
Some of you have checked out django-batchimport to either bulk import
or bulk update your database. Some of you have provided some great
feedback. Thank you! Seems like it's working fairly well for
straightforward XLS files. But I'd like to offer better support for
CSV files and more
WAIT!
Crap. If all else fails, RTFM. I'm sorry everyone. I just re-read the
docs at http://docs.djangoproject.com/en/dev/topics/forms/modelforms/
on commit=False. I get it now. Thank you all!
K
On Jan 8, 7:47 am, Keyton Weissinger <key...@gmail.com> wrote:
> Thank you both very much f
to have required=False on the school field in my Teacher object
for it before the form.save will work in such a way as to save the
underlying model?
Keyton
On Jan 8, 12:38 am, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Wed, 2009-01-07 at 21:28 -0800, Keyton Weissinger wrote:
&
I have a form with the following fields (all required):
- first_name
- last_name
- site_id
I'd like to use a template to display only the FIRST two items to the
user for him to fill out:
{{ form.first_name }}
{{ form.last_name }}
Then when it gets posted back to me I'd like to set the
Hey Victor,
I did the django-batchimport mentioned earlier. I think it will
address your need but is definitely aimed at XLS. However, it does
already handle duplicates (it will either update them or ignore them
based on setting). You can also specify a subset of model fields to
use to determine
Greetings All,
I've just finished the 0.1 version of django-batchimport and have
released it on code.google.com.
Go to http://code.google.com/p/django-batchimport/ for more
information (and SVN checkout).
This application can be added to any django project to give it batch
import capability
Thanks Alex! That was the hint I needed.
I ended up going through my dictionary of fields (on my form object)
in my view and getting BoundField instances for each.
That did the trick.
Thank you all!
Keyton
On Jan 2, 12:57 am, Keyton Weissinger <key...@gmail.com> wrote:
> OK.
this rendered to the HTML:
instead of a nicely rendered field.
Any ideas?
Thank you!
Keyton
On Jan 2, 12:06 am, Keyton Weissinger <key...@gmail.com> wrote:
> I'm passing a dictionary of values that look something like this:
>
> {'name1':[field1, field2, field3], 'name2':[field4
I'm passing a dictionary of values that look something like this:
{'name1':[field1, field2, field3], 'name2':[field4, field5,field6]..}
Each key is a simple string and each value is a list of form fields.
I should be able to do something like this in the template to render
same:
{% for key,
Hi There,
I have a use case to build an online "file-locker" sort of app where
each user can upload and download files (word processing documents,
excel spreadsheets, etc) into a user-specific/secure location. Users
would log into the site, and see the files on the server in their
specific
It's unlikely I will be able to add much after Russ, but I will
suggest a book that has helped me a GREAT deal in support of the IDE-
approach:
Foundations of Agile Python Development:
http://www.amazon.com/Foundations-Python-Development-Experts-Source/dp/1590599810
It goes step-by-step over
This is a question for my fellow Eclipse/PyDev fans
Have any of you gone through the trouble to change your work flow to
take advantage of Mylyn?
>From the Mylyn web page (http://www.eclipse.org/mylyn/):
"Mylyn is a task-focused interface for Eclipse that reduces
information overload and
I've used xlrd. It's pretty straightforward and Excel 2007 is in the
works...
Here's the main Google Group for both projects:
http://groups.google.com/group/python-excel
Keyton
On Nov 13, 10:44 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
> >> [my stuff about using XML templates with Excel]
> >
I need a waiting list application in which a site's functionality
hasn't come online yet and I want to gather email addresses of folks
interested in hearing when we go live. I know that building such as
application would be almost trivial, but in the interest of reuse, I
thought I'd ask if anyone
I'm trying to get Pinax 0.5.0 set up on a windows XP box using Django
1.0. I'm just trying to get the BASIC project setup. No customization.
I've executed the Windows-specific warning here:
http://pinaxproject.com/docs/0.5.0/install.html
I did that and it seems no matter what I've tried (and
Hi Again Everyone,
First my apologies to the group on not explaining what Rails Rumble
was. Jeremy posted some details above. Here are some more from the
website (http://railsrumble.com/):
[About the Contest] The Rails Rumble is a 48 hour web application
development competition. As a
Hello everyone!
Long time listener. First time caller
Is there an equivalent to the Rails Rumble for the Django community?
Shouldn't there be one? What do you think?
Keyton
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
36 matches
Mail list logo