Hello all,
I'm adding a DecimalField to a preexisting app:
foo_bar = models.DecimalField(max_digits=5, decimal_places=2,
blank=True, null=True, default=0.0, unique=True)
I've added a row in the table:
foo_bar DECIMAL(5,2) UNI NULL;
But when I try to syncdb or even validate the app I get:
my_
Thanks Jure. I'll start looking at the IBM DeveloperWorks site.
Adam
--~--~-~--~~~---~--~~
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 unsub
> > SOAP is what I was after. If I used SOAPpy could I still import the
> > django model stuff in the SOAP service script?
>
> Take a look at this ticket: http://code.djangoproject.com/ticket/552
>
> It works quite well if you want part of your site to be able to do SOAP also.
Has anyone used thi
> Do you mean that you do not understand how to pass the data to the
> template for display, or something else?
Waylan,
I mean I don't understand how to pass the data from my Django app to my
PHP webservice and then let the user know that everything went ok or
post errors if it didn't.
I studie
> Do you mean that you do not understand how to pass the data to the
> template for display, or something else?
Waylan,
I mean I don't understand how to pass the data from my Django app to my
PHP webservice and then let the user know that everything went ok or
post errors if it didn't.
I studie
Adrian,
I guess what I don't understand is how to use GET and POST...and what
exactly they are GETting and POSTing...and what to name things and how
to get those named things in the view to get to a template.
I want to learn the basics and apply them.
Gabor,
I understand the "Hello World!" e
I don't understand writing my own views. I have little (more like no)
experience in using POST and GET and the lot. I've used generic views
to death in order to beat having to use custom views, but I'm now at
the point where I must write my own view (to access a PHP web service).
Does anyone know
I'm in the same boat. I've started work on some e-commerce in Django
and have been doing some research on this. As a side-note, I'm
connecting to a web service and have had trouble doing that in Python
(though Mark Pilgrim's DIP was a huge help in wrapping my brain around
this). I've ended up hook
> Hey Spoon,
>
> You're asking a lot of disparate questions here, but the basic thing
> to understand is that a Django view is *just Python code*. A view is
> just a Python function that returns an HttpResponse object. You can
> put whatever you want in there; you can do whatever you need to do
>
Ok, so I posted this request in a different topic and never heard a
peep, so I thought I'd try it in it's own post.
I'm a newb to Django. I love it because I love Python. I'm also a
semi-newb to Python. I've written some cool stuff in Python that I
like, but can't seem to make the connection b
Oh yeah, on this note...do I need to override the default
get__url() for this? I tried using it, and it returns a relative
url instead of an absolute url (MEDIA_ROOT and MEDIA_URL are set in
settings).
--~--~-~--~~~---~--~~
You received this message because you a
Newb question. I'm using the PIL to create thumbnails of page
templates for a simple CMS that I'm building. The function is written
- Python isn't my problem. My problem is how to go about adding the
thumbnails to the view. Do I use foo.show() somewhere, somehow in a
view? Do I make a templat
12 matches
Mail list logo