0
votes
0answers
17 views

ajax request not being called from javascript function in django [migrated]

This is a full flow which has to be taken care here. I am coding in Django/Python/Web Development. I have an html page which has got a dummy button which is triggering all the functions that I want ...
-2
votes
0answers
33 views

Develop own MVC for Python (User defined custom framework) [closed]

I have been creating many PHP applications and have also developed many applications based on the custom MVC that I have developed. When I started learning PHP MVC, I learned it from JREAM MVC for ...
0
votes
1answer
81 views

Javascript function should call python logic in django web development without additional triiger

I have been trying to solve this problem for sometime now. This is regarding django web development. I have an HTML page which has a Javascript function to upload an image file from the users local ...
2
votes
2answers
69 views

where exactly should python business logic be placed in django

I have just begun to learn Django/Python/Web Development. This problem has been troubling me for a while now. I am creating an application with multiple templates in Django. I have a views.py which ...
-1
votes
0answers
100 views

Python service oriented application vs. non-service one

I'm looking forward starting a new web application with Python and I have some doubts before starting. My idea is building a web application and later maybe an Android/iOS mobile app. I am considering ...
0
votes
1answer
64 views

Storing primary keys of objects in Redis and then querying them in Postgres through Django

This is probably my second time posting in programmers. I'm usually on stackoverflow but this question is more fit for the community here. All suggestions, advice and insight on this matter is ...
3
votes
3answers
152 views

Unit Testing: How much more code? [duplicate]

I'm fairly new to unit testing. In school it's always been, "hey it works, onward!" But I've started to write professionally, and even at work that's been basically the mantra. However, I've started ...
0
votes
1answer
309 views

Front-end structure of large scale Django project

Few days ago, I started to work in new company. Before me, all front-end and backend code was written by one man (oh my...). As you know, Django app contains two main directories for front-end: ...
0
votes
0answers
236 views

Django web app with websockets

I want to make a web service using Django, but that also has websocket functionality. Having done a bit of reading, this is the tech stack that I'm looking at: --------------------------------- ...
0
votes
2answers
269 views

How can I convince my client that the task was complex and the time I took is fair?

I am the single programmer working on a website handling both frontend and backend. Recently in my task list I have to provide a social news feed (activities among friends) which should summarize ...
0
votes
0answers
138 views

Extending user registration in Django site that uses both site admin tables and my own module?

I'm writing a Django site that registers a particular type of user and this is done by the resources that come with the framework, the site administration. The issue: I'd like to create a new model ...
1
vote
2answers
198 views

Using a web framework as python GUI

If I built some useful piece of python code to e.g. scrape a website or to calculate something big, at some point I might want to add a GUI to my project. For this I could use Tk, Qt, Pygame or any ...
2
votes
1answer
159 views

Merge two different API calls into One

I have two different apps in my django project. One is "comment" and an other one is "files". A comment might save some file attached to it. The current way of creating a comment with attachments is ...
5
votes
3answers
406 views

Multiple sites with the same codebase in Python

I am trying to run a large amount of sites which share about 90% of their code. They are simply designed to query an API and return the results. They will have a common userbase / database but will be ...
3
votes
1answer
447 views

Web app outgrowing current framework

I have quite a bit of experience with using Django for websites and so when I started a new project I naturally chose to use Django for it. Everything went well for a time but now the application is ...
0
votes
2answers
545 views

How my website should use its 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 ...
5
votes
4answers
458 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, ...
3
votes
1answer
548 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 ...
2
votes
4answers
582 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 ...
3
votes
1answer
1k 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
156 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 ...
10
votes
6answers
3k 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
394 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 ...
5
votes
3answers
574 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
846 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
1answer
1k 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 ...
3
votes
3answers
15k 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 ...
11
votes
2answers
1k 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
815 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 ...
0
votes
4answers
7k 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
3answers
1k 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
3k 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
446 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
418 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 ...
14
votes
1answer
697 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 ...
7
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 ...
3
votes
3answers
689 views

Creating a Django development and production app

I just got started on some web development, and got my feet wet by creating a basic facebook app using Django. I am thinking of publishing the app, and consequently now need a development app that I ...
3
votes
2answers
453 views

TTS on App Engine

I have written a small front-end to the Festival TTS system using Python/Django. I wish to deploy it on the Google App Engine cloud. A few questions: My application uses the Festival app ...
2
votes
3answers
1k views

Python template engines: What are the real benifits and drawbacks to XML vs custom syntax

I'm interested in knowing what are the real difference (benefits and drawbacks) between the two types of python templating engines; XML (like Genshi or Kid) and a custom syntax (like Cheetah or ...
2
votes
3answers
1k views

Tips/Process for web-development using Django in a small team [closed]

We're developing a web app uing Django and we're a small team of 3-4 programmers — some doing the UI stuff and some doing the Backend stuff. I'd love some tips and suggestions from the people here. ...
2
votes
2answers
3k views

How to properly understand django framework? [duplicate]

I have decent knowledge of php, i.e., I can take a framework, read its code and if the docs are adequate, understand what its doing. Main reason for that is that php is actually a very easy language ...
15
votes
5answers
7k views

How difficult is Python and Django to pick up for a Java/.NET web developer? [closed]

I just started a new job a couple months ago at a small company where I am currently leading all development efforts present and future. I personally have years of experience in software design and ...
-1
votes
3answers
1k views

Should I learn a web framework(python)? [closed]

I'm learning Python, and I wanted to advance my skills a bit further so I decided to learn django, then moved on to Flask before realizing that I was having difficulties understanding the very concept ...
1
vote
2answers
3k views

Visual web page designer for Django?

I'm just starting my Django learning so pardon me if any part of this question is off-base. I have done a lot of web searching for information on the equivalent of a visual web page designer for ...
1
vote
1answer
1k views

Python's Django or Delphi's IntraWeb?

Well, forgive me if it is an off-topic question. I have no knowledge about web programming, so I apologize in advance, if it is a stupid question. I will start to build a web based application. To be ...
2
votes
1answer
965 views

Python web frameworks comparisons

I recently asked a question on SO about Python web frameworks: http://stackoverflow.com/questions/4909306/python-web-frameworks-vs-java-web-frameworks-how-is-web-development-in-python-do I want to ...
38
votes
7answers
39k views

How do I learn Python from zero to web development? [closed]

I am looking into learning Python for web development. Assuming I already have some basic web development experience with Java (JSP/Servlets), I'm already familiar with web design (HTML, CSS, JS), ...