Re: Sending email using EmailMultiAlternatives where from_email contains comma

2014-04-21 Thread Russell Keith-Magee
Hi Erol, On Tue, Apr 22, 2014 at 1:20 AM, Erol Merdanović wrote: > Hi all > > I'm using EmailMultiAlternatives to send email. I defined from_email as > > Mike > > > and it works great. But, if I try to send with > > Mike, CEO > > > I get

[ANNOUNCE] Django security releases issued

2014-04-21 Thread James Bennett
Today we've issued releases to remedy three security issues reported to us. Affected versions are Django 1.4, Django 1.5, Django 1.6 and the Django 1.7 beta. Full details and download information are on the Django project weblog: https://www.djangoproject.com/weblog/2014/apr/21/security/ --

Sending email using EmailMultiAlternatives where from_email contains comma

2014-04-21 Thread Erol Merdanović
Hi all I'm using EmailMultiAlternatives to send email. I defined from_email as Mike and it works great. But, if I try to send with Mike, CEO I get an error that Mike is not valid email. How to correctly send email which contains comma in sender? --

Re: Interesting Django project folder structure.

2014-04-21 Thread Tianyi Wang
Hi, Cool. But I see it'd work pretty nicely when you have many custom apps and libs. When you do "./manage.py startapp newapp", Django create the "newapp" as the layout I'm using. AndI have a Django site which contains four Custom apps. The layout I'm using works fine. Just wonder is there

Re: Production django server : NoReverseMatch: Reverse for 'login' with arguments '()' and keyword arguments '{}' not found.

2014-04-21 Thread Alon Nisser
Why did you specify production server? does the code work correctly on a staging/development server? Is this error only in the production server? If so, probably a configuration Issue On Saturday, April 19, 2014 2:25:04 PM UTC+3, 董健 wrote: > > i got NoReverseMatch when deloy cartridge to the

Re: Interesting Django project folder structure.

2014-04-21 Thread Mrinmoy Das
Hi, The suggested folder structure is the standard stuff that is generally used. I personally and all the teams I have worked with uses this particular structure. sent form mobile, apologies for the brevity On Apr 21, 2014 7:30 PM, "Tianyi Wang" wrote: Today I was reading

Interesting Django project folder structure.

2014-04-21 Thread Tianyi Wang
Today I was reading through http://www.deploydjango.com/django_project_structure (great resource) The suggested folder structure for a Django project from this site is like below: (I'm only interested in layout for Django apps, not requirements files or settings files) myproject |--

Re: Production django server : NoReverseMatch: Reverse for 'login' with arguments '()' and keyword arguments '{}' not found.

2014-04-21 Thread Liam Thompson
Are you certain that you are passing the correct or required parameters to the URL, and is the URL actually named ? On Saturday, 19 April 2014 13:25:04 UTC+2, 董健 wrote: > > i got NoReverseMatch when deloy cartridge to the webfaction. i can not > not figure out what happened. the problem