git: having separate folder for development, why?
until now I was using dropbox as my main vcs (it is not, but for a single dev does the job pretty decent).
How to dynamically add new posts once they are created
I am trying to design an application where users can make posts with Django on the backend. Right now I have to refresh the page with JavaScript every 20 or 30 seconds to check for new posts that might be available for that page. I was wondering if there are more effective ways to do this? Maybe with a JSON response? I am looking for a solution like Twitter, where they show how many new posts are available that are not on the page or even like on Facebook where they update the wall posts automatically.
Does it violate the DRY principle to use an MVC server-side framework and a client-side MVC framework
When using a MVC pattern for server side code (in my case django), the model definition is defined once in the model component. When using a client side MVC based library(in my case backbone) the model definition or some subset is redefined. If I were to make a change to my server side model definition, let’s say add a field to a model, then I would have to make a similar model change to my client side model definition to include that new field.
Unit testing in Django
I’m really struggling to write effective unit tests for a large Django project. I have reasonably good test coverage, but I’ve come to realize that the tests I’ve been writing are definitely integration/acceptance tests, not unit tests at all, and I have critical portions of my application that are not being tested effectively. I want to fix this ASAP.
How to get a Web Application to communicate between users
I am developing a multipalyer web Application for Anti-Chess. It would be hosted on Google App Engine.
I keep getting a 405 error on my Django Blog
I’m having an issue with my Django Blog. Every time I try to turn on the About Me Page, I get a 405 Error.
How to create different paths for users to take through the pages in my site?
I have a website where users are directed to go through a sequence of pages to perform a sequence of work tasks (transcribe a paragraph, answer a survey, interact with another user, etc). For short, let’s call these tasks A, B, C, etc. I’m using Django, and each task is currently implemented as a view function (or method), e.g. def A(request)
. Currently, each view function has the next step hardcoded in an HTTP redirect, e.g. HttpResponseRedirect(reverse(B))
.
Is it possible to have a child model with multiple parents in a Django App?
I am creating a quiz back-end. I would like to add a feature where a user can report a question for being irrelevant or not fair.
Do I need a database to implement AJAX functionality for my app?
I am new to the construction and design of a web app so I’d like some advice please (Django is my framework). I’m trying to code up a “how-to” website instructing users the step-by-step process for doing a certain task. I’d like the navigation of the website to be something like this…
Do I need a database to implement AJAX functionality for my app?
I am new to the construction and design of a web app so I’d like some advice please (Django is my framework). I’m trying to code up a “how-to” website instructing users the step-by-step process for doing a certain task. I’d like the navigation of the website to be something like this…