Hi,
A simple scenario:
- A generic object detail view, on which I can vote for the
displayed object.
- vote is handled by custom view which sets a key in session (named
"vote_) indicating that a vote was made
- in the template I want to check for existance of this key, and if
present,
On Jan 13, 1:51 am, Malcolm Tredinnick
wrote:
> [...]
>
> Look, if you aren't going to be moving the applications around, the
> imports in the tutorial aren't horrible. It's the beginner's tutorial.
That's a big if, regarding that tutorial does stress decoupling
Hi,
In the 4-part tutorial on Django's main site, there's a lot of advice
on how to decouple apps and projects, but when I look at the import
statements in most of the tutorial's files, it's always "from
projectname.appname import ." - not very decoupled for me. Am
I missing something,
3 matches
Mail list logo