I think I shot myself in the foot using ModelForms to generate all of my
html forms. Is there any way to use a stylesheet when your forms are
generated from ModelForms?
I've tried everything and cannot get it to work. I've tried directly
importing the css files, I've tried loading them from
Ahhh, that makes sense. Thanks. :)
On Thursday, March 15, 2012 10:19:47 PM UTC-4, dstufft wrote:
>
> Django uses an empty string instead of a NULL for an empty value for
> CharField and Charfield subclasses
>
> On Thursday, March 15, 2012 at 10:18 PM, hack wrote:
>
>
Something is a little strange with my database. My models have fields
where the value is set as blank=True to allow null values. My forms seem
to be saving values to the database just fine, even if the are blank/null.
However, when I look at my database in phppgadmin all the rows show they
On Wed, Mar 14, 2012 at 3:22 PM, hack <scottma...@gmail.com> wrote:
>
>> Hey folks,
>> I've finally got my app ready to put it online and got an account over at
>> webfaction. I've set everything setup and configured, but I missed a step
>> somewhere and not sure
Hey folks,
I've finally got my app ready to put it online and got an account over at
webfaction. I've set everything setup and configured, but I missed a step
somewhere and not sure exactly which one. When I type in my url I get a
404 as shown below. However, the message appears as though it
Yes, I added @csrf_exempt and not I get a 500 error instead. I'm not sure
what the deal is.
On Tuesday, March 13, 2012 10:09:37 PM UTC-4, Matt Schinckel wrote:
>
> That response indicates you do not have permission to access that resource
> on that server. Are you sure you are hitting the
Hmmm, perhaps this might help: @csrf_exempt
On Tuesday, March 13, 2012 9:54:30 PM UTC-4, hack wrote:
>
> This stuff is killing me. LOL I think I just don't understand the
> urllib2 yet.
>
> I'm trying something very simple, but am having a terrible time
> figuring out how
This stuff is killing me. LOL I think I just don't understand the
urllib2 yet.
I'm trying something very simple, but am having a terrible time
figuring out how to get it to work in python and django. All I want
to do is post to my site with params. Here is what I have:
def test(request):
l paypal that this looks like a valid
> payment (the payment amount or item quantities haven't been hacked,
> etc.).
>
> But you could be right.
>
> Bill
>
> On 3/12/12, hack <scottma...@gmail.com> wrote:
> > I read the paypal ipn docs, and think I understand the proc
s no extra request.
> Yes, you have to have a remembered cart, or something, to coordinate
> with what they're sending you, unless you're getting everything you
> need for fulfillment in the post from them.
>
> Anyway, good luck. In my experience, webservice documentation has
&g
alid), or that it would be in your
> response to that POST to tell paypal that this looks like a valid
> payment (the payment amount or item quantities haven't been hacked,
> etc.).
>
> But you could be right.
>
> Bill
>
> On 3/12/12, hack <scottma...@gmail.co
I read the paypal ipn docs, and think I understand the procedure for
processing payments.
The only issue I have is that I am not 100% certain how to do this via
django.
Basically you setup a listener http://mysite.com/mylistener/, and when
someone makes a payment paypal responds by notifying
GOT IT. admin - sites
Also, you have to be careful to edit the existing example.com site and not
delete it. Deleting it and creating will cause pk to be incremented and
accessing the reset page will fail.
On Sunday, March 11, 2012 6:30:28 PM UTC-4, hack wrote:
>
> I'm having an issue w
OH shoot, DUH, my bad. Thanks for catching that man. I've been staring at
code for way too long. LOL
On Sunday, March 11, 2012 2:53:12 PM UTC-4, Daniel Roseman wrote:
>
> On Sunday, 11 March 2012 18:27:33 UTC, hack wrote:
>>
>> How can I use an external URL in a django temp
How can I use an external URL in a django template? For example, I have a
CharField in the database/model and I want to display it on a template page
as an external link. However, when I do something like the following and
click the link:
{{items.website}}
django attempts to access the
view in url.py to be like this :
> > from django.contrib.auth.views import login
>
> > and also check your pattern in url.py to be like this :
> > site_media=os.path.join(os.path.dirname(__file__),'site_media')
> > urlpatterns = patterns(' ',
> > (r'^login/$',logi
I'm attempting to follow the instructions on the Django website and
use the registration/login.html. I created the file in myapp/
registration/login.html.
I've added the following to my urls.py file:
url(r'^login/$', 'django.contrib.auth.views.login'),
When I attempt to access /myapp/login I
Hello,
I am new to Python and have a Java background.
I have created a bunch of models, and forms using ModelForm:
class FormName(ModelForm):
class Meta:
model = FormName
Whenever I display the form in my browser with {{ form.as_table }} the
form queries all the foreign
thanks
2009/9/24 Karen Tracey <kmtra...@gmail.com>
> On Wed, Sep 23, 2009 at 12:13 PM, Join hack <joinh...@gmail.com> wrote:
>
>> i read the django doc, but there is no solution for this .
>>
>>
> The doc (
> http://docs.djangoproject.com/en/dev/
i read the django doc, but there is no solution for this .
--~--~-~--~~~---~--~~
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 from
20 matches
Mail list logo