Django and SSL

2014-04-26 Thread James Schneider
Outside of the various guides for implementing SSL using various combinations like Apache/Nginx/uWSGI/GNUnicorn etc., there are only a few other things I would watch out for: Ensure that your server (or hosting provider) has been patched against the Heartbleed vulnerability (CVE-2014-0160) in the

Re: Django

2014-04-26 Thread Srinivasulu Reddy
Hello Lee, Thank you Lee, after changing the code according to your suggestion, it's working. On Saturday, April 26, 2014 1:35:58 AM UTC+5:30, Lee wrote: > > In case you dont see my email, I copy my reply here too: > > Hi, > > Your problem is in the results view function. I'm not sure wha

Re: What are the active Django e-commerce frameworks right now (2014)?

2014-04-26 Thread Brutus Schraiber
Thanks 'somecallitblues' I will definitely take a closer look at Mezzanine and Cartridge. But I'm kinda baffled. Only one answer after two weeks? Sure webshops might not be the hot topic anymore than they where a good couple of years ago, and most people just use PHP and Magento anyway, but st

Re: Django explicit `order_by` by ForeignKey field

2014-04-26 Thread alTus
Thanks! Yes, this sounds logical. Haven't found anywhere here how to move theme to another "forum". Is this possible? Or I should just copy it? суббота, 26 апреля 2014 г., 9:33:49 UTC+4 пользователь Simon Charette написал: > > Actually the FieldError is not raised anymore in Django 1.7 (and mast

Re: Django and SSL

2014-04-26 Thread Venkatraman S
On Sat, Apr 26, 2014 at 2:46 PM, James Schneider wrote: > If you use a separate subdomain for static content (recommended), even on > the same server, include that as well. > Thanks James. I did not know this(subdomain for static content) was recommended. Why? Regards, Venkat -- You received

Re: Django and SSL

2014-04-26 Thread James Schneider
Using a separate sub domain future-proofs your site in the event it grows large and you need to split your dynamic and static content between servers. It also makes it easier to parse statistics from the logs. Most web log analyzers will handle a separate sub domain out of the box better than usin

Re: What are the active Django e-commerce frameworks right now (2014)?

2014-04-26 Thread Jared Nielsen
Check out Stripe. Not a framework, but very easy to implement with Django. On Saturday, April 26, 2014 4:57:51 AM UTC-6, Brutus Schraiber wrote: > > Thanks 'somecallitblues' I will definitely take a closer look at Mezzanine > and Cartridge. > > But I'm kinda baffled. Only one answer after two we

Re: What are the active Django e-commerce frameworks right now (2014)?

2014-04-26 Thread donarb
On Saturday, April 26, 2014 3:57:51 AM UTC-7, Brutus Schraiber wrote: > > Thanks 'somecallitblues' I will definitely take a closer look at Mezzanine > and Cartridge. > > But I'm kinda baffled. Only one answer after two weeks? > > Sure webshops might not be the hot topic anymore than they where a g

Loading data in migrations

2014-04-26 Thread Tim Chase
According to [1] """ [automatically loading initial data via fixtures is d]eprecated since version 1.7: If an application uses migrations, there is no automatic loading of fixtures. Since migrations will be required for applications in Django 1.9, this behavior is considered deprecated. If you wan

Re: Casting a raw query set as a list for pagination

2014-04-26 Thread Matt Buck
I've created a paginator for RawQuerySets. https://github.com/seamusmb/django-paginator-rawqueryset On Tuesday, March 26, 2013 5:51:41 AM UTC-4, chambe...@gmail.com wrote: > > I'm trying to implement Django's built in pagination feature with a raw > query set. I've researched the issue and the

Re: 3 table many to many relationship

2014-04-26 Thread Malik Rumi
Merci beaucoup On Wed, Apr 23, 2014 at 10:43 PM, Simon Charette wrote: > Django allows you to explicitly specify an intermediary model for > many-to-many relationships with the > `through` > optio