a Python web framework
0
votes
2answers
193 views
How my website should use it's own API?
Im building small web-service which will provide my users with data through API.
Also, some data will be available right on my website.
The question is about how to use my own API? Should my website ...
-2
votes
0answers
31 views
Load testing my Django App [closed]
so i have a Django app that is not optimized yet and i am doing some load testing using Jmeter.
For now i am only doing a simple GET to my index.html.
I am trying to interpret the results, and from ...
-2
votes
0answers
81 views
Learning django and Python GUI [closed]
Can anybody suggest me some good user-interactive sites like Codecademy, for learning Django.
And also some good resources for learning python GUI programming.
4
votes
4answers
391 views
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, ...
0
votes
1answer
47 views
One to Many Relationship Django
let say I want my User model to have only one location and my Post model to have many location. How Do I design the model? This is what I have in mind so far. Is this going to work? Do I need to ...
2
votes
1answer
185 views
Python, magic and objects that add attributes to its owner
Let me start with a disclaimer: I'm not the best programmer out there. I do however study I.T. and learnt a bit of Java and C.
I'm getting stuck into Python and Django + Mongoengine, I'm not going to ...
1
vote
2answers
288 views
Notify players every x seconds in a multiplayer game
I'm working on a realtime multiplayer game using Django and gevent-socketio, I'm facing some issues:
I need to send an update of the game state to connected players every X seconds (~4 seconds), so ...
2
votes
3answers
177 views
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 have a few questions:
How do I get two different users who have opened the webapp on their ...
6
votes
1answer
216 views
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 ...
-2
votes
1answer
93 views
Stack for building a searchable image service [closed]
I've been building web services & sites with Django & PostgreSQL using pieces like Redis, Memcached, RabbitMQ, etc. for a few years now.
I'm about to build a new kind of service (for me), ...
2
votes
1answer
202 views
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 ...
2
votes
1answer
156 views
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 ...
2
votes
7answers
378 views
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).
However I decided to give git a go and see if it fits my needs. Today I was reading this ...
1
vote
1answer
214 views
Python for first programming / web development job [closed]
I've been teaching myself python and django for a couple of years, but I don't seem to find many entry-level python jobs in the UK. If I'm looking to begin a career in programmming / web development, ...
0
votes
1answer
87 views
Handling table name collisions in Django
Django creates a table name by joining the app label with the model name. A project can have many apps. If two have the same label, how can both be used in the same database?
I'm currently using very ...
0
votes
1answer
130 views
Restrict access to backend
This might be one of those "not answerable" or "just opinions"-questions but I thought I'd give it a shot.
I'm developing an app with health care information with a friend who's a doctor. The basics ...
3
votes
1answer
432 views
What are your techniques for storing numpy structures in django database fields and how do you serialize them for http?
I want to publish a small web project that is supposed to contain some of my research results to present it to the scientific community. All my analysis I ran so far have been written in python ...
-2
votes
1answer
144 views
Where can I find out about basic python usage, cli, editor and testing? [closed]
I'm coming from Ruby / Ruby on Rails to Python.
Where can I find or find resources about:
The command prompt, what is python's version of 'irb'
info and recommendations on editors, plugins and IDE's
...
8
votes
6answers
1k views
Execute code every hour
I need to create a web service that executes every hour. It will be used to review data in a database and add alerts to a table in the same database if certain conditions are met/not met. What we ...
1
vote
2answers
243 views
Which web framework to use under Backbonejs?
For a previous project, I was using Backbonejs alongside Django, but I found out that I didn't use many features from Django. So, I am looking for a lighter framework to use underneath a Backbonejs ...
4
votes
3answers
406 views
Should we have a database independent SQL like query language in Django?
Note :
I know we have Django ORM already that keeps things database independent and converts to the database specific SQL queries.
Once things starts getting complicated it is preferred to write raw ...
1
vote
2answers
682 views
Is it worth converting a Django project to Rails?
I have a project I shelved a while back- it was essentially a working web app built in django but I stopped working on it to work on something else.
I plan on starting it up again in my spare time, ...
3
votes
2answers
327 views
Django application strategy
I have been working a while on a Django project which has been growing a bit lately. I have been think a bit about what strategy to use to make it easier to handle. One thing I would like to get some ...
8
votes
3answers
325 views
Should one generally develop a client library for REST services to help prevent API breakages?
We have a project where UI code will be developed by the same team but in a different language (Python/Django) from the services layer (REST/Java). The code for each layer exits in different code ...
0
votes
1answer
111 views
Keeping “historical” migrations in Django-south
After a system has gone through many migrations, and evolved enough for a second version, does it make sense to keep the old migrations around? I mean, old versions will use them to upgrade to the new ...
2
votes
1answer
895 views
Moving from PHP to Python - framework considerations
As a long time PHP developer, I am now starting to explore the Python world.
I have narrowed the choice of framework down to Django and Pyramid, probably no big surprise there. I have played a bit ...
0
votes
1answer
221 views
Building a template engine - starting point
We're building a Django-based project with a template/generator component. This component will be separate from the project as such and can be Django/Python, Node, Java or whatever works. The idea is ...
0
votes
1answer
112 views
Parameterized Django models
In principle, a single Django application can be reused in two or more projects, providing functionality relevent to both. That implies that the same database structure (tables and relations) will be ...
2
votes
1answer
121 views
How do you map members and their responsibilities to an organization? [closed]
I'm working on a Django project that tracks arts-related activities, and I'm stuck on the human-resources part of things.
(code below) I have a class Ensemble that subclasses Organization. ...
1
vote
3answers
5k views
How to develop front end (UI) for my Django website
I am learning Django and new to web development. Please excuse me if you find this question too dumb.
So, I am creating a Facebook application using Django which I would like to host in Google App ...
3
votes
2answers
135 views
How would I do a “Server over capacity” message with Django?
This probably isnt' a Django specific question, but I'm wondering how those "Server over capacity" messages are displayed.
Some examples:
Twitter's fail whale
Tumblr's Over capacity slash page
...
4
votes
1answer
426 views
What and how to unit test a django web application?
I am writing unit tests for a web frontend implemented in Django.
I have written unit tests that check that all views return the correct status code (200, 302 etc) so that template errors (which give ...
0
votes
2answers
244 views
Django development best practices
I have spent some time studying Django and I've done some applications. But I really don't know what is the best approach while developing an application, I mean, there are several options: Make all ...
3
votes
2answers
406 views
How does key-based caching work?
I recently read an article on the 37Signals blog and I'm left wondering how it is that they get the cache key.
It's all well and good having a cache key that includes the object's timestamp (this ...
1
vote
1answer
592 views
Starting with Ruby on Rails? I see a lot of criticism everywhere. Is it okay to start with Rails now in 2012? [closed]
I have worked on C before and have never tried my hands on any web application creating framework. After some convincing from one of my friends I thought of giving Rails a go. Before starting to work ...
-1
votes
4answers
2k views
How can I sell my boss on Python+Django instead of PHP+a different framework? [closed]
My boss has tasked me with a re-write of our intranet website. The existing system is very old PHP that doesn't use a framework. My preference is strongly to do the rewrite in Python and Django but my ...
0
votes
1answer
407 views
Why should I not always pass a Django request context in a view?
According to the relevant Django documentation, a request context offers more than a normal context in that it merges request data into the context.
It is hence necessary for views that perform form ...
4
votes
1answer
1k views
Why does email sent from my site end up in SPAM folders? [closed]
I am developing a course registration website in Django. New users must confirm their email address by clicking on a link emailed to them.
Unfortunately, this message is consistently ending up in ...
4
votes
5answers
753 views
Pros and cons of hiring a programming tutor
I've started to learn programming in Python. It seems like every other code I write, the site breaks, and it'll take me hours to figure out the problem. It's not very encouraging at all.
I've been ...
1
vote
2answers
291 views
Strictly from an employability perspective, what is the best web development framework to learn right now? [closed]
Even though Ruby on Rails seems to be the most popular with the most job openings, is there a compelling employability reason to learn django for example? Maybe because everybody's learning RoR and ...
9
votes
2answers
11k views
Learning Django by example
When I first started learning Android, I found a fantastic series of YouTube videos by Marakana that stepped through building a Twitter clone. It walked me through all the steps and thus explained to ...
0
votes
3answers
536 views
Translating between Python-Django and Javascript
I have a conceptual question about 'translating' between objects I have stored in Django (in Postgres) that I want to use on the front-end. So I have a user object in Python that holds basic things: ...
1
vote
3answers
1k views
Using Django without a database
Is Django a good solution for creating applications that won't use any database and communicate only through an internal API?
2
votes
1answer
308 views
What programming languages and skills are required in addition when building freelance platform with python?
I have a question about compatibility and co-integration of programming languages, databases, frameworks, libraries, different API and more (together referred as “items”). I have added a list of ...
2
votes
3answers
337 views
Django as Python extension?
I come from php community and just started learning Python. I have to create server-side scripts that manipulate databases, files, and send emails.
Some of it I found hard to do in python, comparing ...
12
votes
1answer
470 views
Is Windows a “second class citizen” in the Django community?
I'm currently doing R&D for a web application which we plan to host ourselves initially and then allow customers to self host.
My task has been evaluating web frameworks to see which would give ...
6
votes
2answers
3k views
Can I use Visual studio for Python and Django development?
I have been using Visual Studio for quite some time now, in fact from the VS 2005 version. Right now, I am not only comfortable but addict to using it(VS 2010) for all my development needs.
Recently ...
7
votes
3answers
653 views
Is there a Django reference?
I am new to Django. I have found the official topic guides https://docs.djangoproject.com/en/1.3/ an excellent place to learn from. But now I am in a place where I need quick reference to see what ...
4
votes
4answers
357 views
What are the options when Sql generated by ORM needs tuning?
I am starting working on a web project using django. While researching whether to use Sqlalchemy or raw sql when django orm is not sufficient which is also a question I asked here
Raw Sql vs ...
3
votes
1answer
1k views
Raw Sql vs SqlAlchemy when Django ORM is not enough
In a django project, if a situation comes that Django ORM is not able to execute some complex queries then there are 2 options:
Use Raw Sql queries
Use SqlAlchemy
I want to know if there are ...
