Re: Problems Sending Email From Django SIte

2014-01-31 Thread m1chael
can you tail a mail server log file, while trying to send a django e-mail, and see what happens? also take a look at a log file for command line and mutt do a comparison of all. maybe that will help On Fri, Jan 31, 2014 at 10:35 PM, Mark Phillips wrote: > Thank-you for your response...However

Re: Problems Sending Email From Django SIte

2014-01-31 Thread Mark Phillips
Thank-you for your response...However, 1. I can send email from the command line and from mutt. 2. I can send email from a python prompt using the settings.py in my app. These two facts tell me the mail server is configured properly. 3. Only my django app cannot send email. This fact leads me

Re: Problems Sending Email From Django SIte

2014-01-31 Thread m1chael
Your mail server needs configuring. On Fri, Jan 31, 2014 at 8:15 PM, Mark Phillips wrote: > A follow up. After hitting send, I realized how to simulate an error - I > asked for a page with a nonexistent id. Like the polls example in the django > tutorial, I used an url with a poll_id that does no

Re: Problems Sending Email From Django SIte

2014-01-31 Thread Mark Phillips
A follow up. After hitting send, I realized how to simulate an error - I asked for a page with a nonexistent id. Like the polls example in the django tutorial, I used an url with a poll_id that does not exist in my site. I got a Server Error (500) page, but no email. I looked in the exim4 reject lo

Problems Sending Email From Django SIte

2014-01-31 Thread Mark Phillips
I have my django site setup on my production server, a Debian machine with exim4 and django 1.6. I use smtp.cox.net to relay my emails from my server. I can send emails from the server using mutt. I can also send an email from a python prompt in my virtual environment on the server using this (wi

UnreadablePostError: request data read error

2014-01-31 Thread François Schiettecatte
Hi I am getting the error below when users are uploading files to a website, this is on django 1.6.1. What this suggests is that the client is closing the connection before the file is fully uploaded, ie the data cannot be read to completion. This is happening with different browsers and seemi

Re: Honest feedback

2014-01-31 Thread Simon Charette
Just wanted to add/correct two points. > That also means some of the warts are still there like the difficulty in > writing reusable apps, file based settings, multiple user profiles, that 30 > char username length on the contrib.auth.User model. > Django 1.5 ships with a configurable user

Re: Django with Ubuntu Cloud

2014-01-31 Thread Me Sulphur
So - I can use Ubuntu One ( which seems to be like Drop box if I understand it correctly ) as a media file storage? Indeed you UO is like DB and you can use their APIs to programatically PUT and/or GET files on their system. -- You received this message because you are subscribed to the Google G

Re: Django with Ubuntu Cloud

2014-01-31 Thread Vibhu Rishi
So - I can use Ubuntu One ( which seems to be like Drop box if I understand it correctly ) as a media file storage? V. On Jan 31, 2014 12:47 PM, "Me Sulphur" wrote: > Django is a fairly flexible web framework. See read more about STATIC and > MEDIA files in Django. The Ubuntu cloud API is docume

Re: Django with Ubuntu Cloud

2014-01-31 Thread Vibhu Rishi
Thanks Russ. On Jan 31, 2014 12:42 PM, "Russell Keith-Magee" wrote: > Hi Vibhu, > > Everything I know about Ubuntu Cloud I learned from their homepage in the > last couple of minutes -- but that website seems to suggest that Ubuntu > Cloud is based on OpenStack. OpenStack is a generic API for cl

Re: Django with Ubuntu Cloud

2014-01-31 Thread Vibhu Rishi
It requires a CC for sign up - even for the free mode. Can't use mine here and I don't want to get another CC. V. On Jan 31, 2014 1:42 PM, "Andreas Kuhne" wrote: > Hi, > > Why not use S3 for storage? Then you can still keep heroku and don't have > to make vast changes to your setup? > > Regards,

Re: Pre-populating data in the admin panel

2014-01-31 Thread shmengie
Add your foreign key table to the admin.py and register it. Admin will magically add the (+) button. Or add it inline and have it all on the same page. Depends on which is right for your application. admin.py: from project.models import * class PropertyAdmin(admin.ModelAdmin): pass admin.

django 1.6 how does the form.as_p decide the textfield rows and and cols?

2014-01-31 Thread 项楠
http://stackoverflow.com/questions/21481229/django-1-6-how-does-the-form-as-p-decide-the-textfield-rows-and-and-cols I have read the form.as_p method source code, still don't know.[image: enter image description here] #models.py class User(AbstractBaseUser): description = models.TextField(

Pre-populating data in the admin panel

2014-01-31 Thread kerviel patrice
In the Django Admin I want to populate fields for a foreign key record when I click the add (+) button I tried with formfield_for_foreignkey but it does not work model class Property(models.Model): name = models.CharField(_('name'), max_length=50) description = models.TextField(_('descri

Re: Django with Ubuntu Cloud

2014-01-31 Thread Andreas Kuhne
Hi, Why not use S3 for storage? Then you can still keep heroku and don't have to make vast changes to your setup? Regards, Andréas 2014-01-31 Vibhu Rishi : > Hi, > > Has anyone setup Django with Ubuntu Cloud ? > > My primary interest is how to setup the media server. I am primarily using > He