Skip to main content

All Questions

Tagged with
48votes
6answers
130kviews

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), ...
Terence Ponce's user avatar
35votes
3answers
23kviews

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 ...
adrita's user avatar
33votes
4answers
131kviews

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 ...
Amie's user avatar
  • 331
19votes
5answers
19kviews

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 ...
maple_shaft's user avatar
  • 26.6k
14votes
1answer
1kviews

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 ...
Daniel Upton's user avatar
10votes
2answers
2kviews

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 ...
Dominic Santos's user avatar
8votes
6answers
17kviews

Execute code every hour [closed]

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 ...
Linger's user avatar
7votes
2answers
11kviews

How to handle configuration of Python modules, especially when used standalone and in frameworks like Django

I am trying to package a Python module for pip, following the guide here. One area I would like feedback on is best practices or convention for making my module configurable. The module is a library ...
user's user avatar
  • 173
7votes
1answer
3kviews

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 ...
dhilipsiva's user avatar
6votes
4answers
770views

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, ...
RexE's user avatar
  • 249
6votes
1answer
2kviews

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 ...
holografix's user avatar
6votes
4answers
5kviews

Front-end structure of large scale Django project [closed]

Few days ago, I started to work in new company. Before me, all front-end and backend code was written by one man. As you know, Django app contains two main directories for front-end: /static - for ...
Saike's user avatar
5votes
4answers
26kviews

Using Django without a database [closed]

Is Django a good solution for creating applications that won't use any database and communicate only through an internal API?
kaz's user avatar
  • 161
5votes
2answers
4kviews

Django CBVs vs FBVs

For creating a large Django project with many apps, my first initial thought was to used Class Based Views (as the Django tutorials seem to emphasize). However, I noticed that due to a lot of the ...
C.B.'s user avatar
  • 213
5votes
1answer
12kviews

Using singletons in Python (Django)

I was suggested to define a singleton in Python in the following way: class Controller: pass # ... controller = Controller() However, this way, controller cannot be replaced with a derived ...
porton's user avatar

153050per page
close