Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zeemonkee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
271.
▲
by
zeemonkee
16y ago
That's very true. Almost every one of my friends and family in Scotland work in some part of the public sector - NHS, education, local government etc. I'm unusual in being self-employed/private sector. Scotland has become a socialist countr
272.
▲
by
zeemonkee
16y ago
I'm looking into Flask at the moment for some small projects I have in mind. While it's very much a young project, it looks very promising in the long term and already has good documentation. The framework is very easy to learn and Pythonic
273.
▲
by
zeemonkee
16y ago
Class-based generic views would go a long way as well; Django's generic views are pretty useless in their current form.
274.
▲
by
zeemonkee
16y ago
The problem with something like login/registration is that on the one hand it's a repetitive task, on the other it's something that ends up being highly customised for each application. My experience with Django is that you generally start
275.
▲
by
zeemonkee
16y ago
I agree with your conclusions on Django auth (and I really hate the UserProfile hack) - and once you start swapping out the template engine and ORM you lose much of the usefulness of Django (as well as most of the 3rd party apps). If you ta
276.
▲
by
zeemonkee
17y ago
You don't have to use decorators (they cause issues with circular dependencies as well, making it difficult to break up your views module). There is an add_url_rule method you can use to register views. An ORM is tangental to Flask - there
277.
▲
by
zeemonkee
17y ago
Jinja2. Quixote, ClearSilver and Cheetah are quite dated - ClearSilver IIRC was used in Trac, I think it's replaced by Genshi now.