Showing posts with label django. Show all posts
Showing posts with label django. Show all posts

Monday, June 11, 2012

Secure static media access in a Django site


I'm building a site where registered users can upload files. Those files are then served via Apache. Only users who are logged in should be able to access those files.

Sunday, June 10, 2012

Django CSRF check failing with an Ajax POST request


I could use some help complying with Django's csrf protection mechanism via my AJAX post. I've followed the directions here:

Rendering JSON objects using a Django template after an Ajax call


I've been trying to understand what's the optimal way to do Ajax in Django . By reading stuff here and there I gathered that the common process is:

Sunday, June 3, 2012

How do you Require Login for Media Files in Django


I'm serving "sensitive" information in downloadable PDF's and Spreadsheets within a user registration section of a site.

What are the best books and resources for learning to develop, deploy and/or host Django?


I'm a newbie on the Django scene coming from an ASP.NET C# background. I'm looking for some good resources to help me learn the ins and outs of Django/Python. Any recommendations?

Monday, May 21, 2012

Cleanest & Fastest server setup for Django


I'm about to deploy a mediumsized site powered by Django. I have a dedicated Ubuntu Server.

How do I write Facebook apps using Django?


Am in the process of developing some app for Facebook using Django! I've started first by building the app in Django and its shaping up pretty well, now am wondering how can I make it a Facebook app.

What is the best AJAX library for Django?


Which and why is the best AJAX library for django?

Which one has the biggest database of tutorials, books and most detailed documentation?

Friday, May 18, 2012

Dynamically adding a form to a Django formset with Ajax


I'd like to be able to automatically add new forms to a Django formset with an ajax function. I.e., the user clicks an "add" button and some javascript will add a new form (which is part of the formset) to the page.