What's your Django 1.3 tutorial recommendation? [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Other than the Django docs tutorial, what are recommendations for good Django 1.3 tutorials?
The resources listed in the Django wiki all seem pretty outdated.
Related to https://stackoverflow.com/questions/130061/book-and-tutorial-recommedations-for-django-1-0 but I'm looking specifically for updated Django 1.3 guides.
Thanks.

Having searched on a regular basis, I can say that there simply aren't any very new books on Django being sold at the major retailers. And there have been some significant changes to the code since 1.1.
Your best bet is just to continue using the django docs. The docs for Django are some of the best and most complete on the web. They do an excellent job of keeping them up to date.
There are tutorials out there on the web for using django in specific ways that aren't covered well on the djangoproject.com site. But they tend to cover only one small area such as how to use django with aptana. Very useful, but far from complete without many other resources.
And of course, if you get stuck, there is IRC and StackOverflow!

You've probably been to some page on the official snippets site, and I agree, it is disappointing to click on a "top user" only to see that they haven't posted anything in years. However, the following is a link to just the entries tagged for 1.3, and depending on how old you thought the snippets in general were, you may find some interesting and relevant information by looking at the circa 1.2 entries as well:
http://djangosnippets.org/search/advanced/?q=+&language=&django_version=1.3
If < 3 months old is more your preference,
http://djangosnippets.org/popular/rated/?page=1&months=3

Related

The best way to document python code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm starting to work on documentation of python33 modules. But I'm beginner in this field.
I will be very grateful if you will help me to choose good instrument to do this.
I read a lot of topics in Internet. I've fount that the most popular are sphinx and Epydoc. But which of them is better to use? Almost all problems discussed in the Internet are quite old. I'm sure that situation is changed since 2011 year.. May be somebody is pro in doing docs for python docs. Please help to make first steps.
Cannot imagine more useful and helpful material except:
PEP8 Comments section
PEP8 Documentation Strings section
Documentation thread of The Hitchhiker’s Guide to Python
And, yes:
Epydoc is discontinued. Use Sphinx instead.
Hope that helps.

Is there something better than django-piston? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
With 145 forks, 125 open issues, and the last release almost 2years ago, django-piston appears to be approaching abandonware and since the project I'm working on is likely to be a big one, I'd like to standardise on something that's going to be around for a while. Is there something resembling a consensus in the Python/Django community regarding a preference for REST API services? Even if it's one of those 145 forks? Ideally, I'd like to find something that plays nice with #jacobian's REST Worst Practises
check http://djangopackages.com/grids/g/api/ (django-tastypie looks very promising)
I also don't like Piston very much. Don't misunderstand me. It is (or was) a good app, though it has its issues. The main problem I had working with it that it hides Debugging information coming from django.
If you are absolutely unsure about what to use roll your own. With django 1.3 and class based views you got already a good way to add an API like this. If you need OAuth or other authentication methods you can simply check existing ways in piston or other apps and use them.
Two other REST packages that may be of interest :
http://django-rest-framework.org/
http://benoitc.github.com/dj-webmachine/index.html
It is worth mentioning about
django-tastypie
This is getting faster acceptance than the others.
Django Piston project seems to be abandonned.
Django rest framework has taken a large advantage with its second version.
Note that this is valid for now (2014), time may decide different.

Popular Python open source CMS like Drupal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I wonder if there is an open source CMS coded in Python that is as big as Drupal (or Joomla or Wordpress).
You are looking for Django. (Edited to say: OK, it's a web application framework, but there's lots of overlap. Django-CMS is maybe more what you want, but is in no way as big as Drupal or Joomla.)
Plone is an open source python powered CMS.
check out Web2py it comes tons usefully stuff
I'm looking for similar alternatives and have found http://www.lfcproject.com/blog/release-10-final. At least they just had a release. Looks promising.
Btw, development of Django-CMS looks either dead or stale :\
Tendenci was recently released into the open source community and is written in Python on a Django framework.
Tendenci CMS comes with a ton of features that require plugins/modules typically with other CMS' like membership management, selective permissions, event registration and event calendar, jobs board, video and photo galleries, etc.
You can download Tendenci on Github at https://github.com/tendenci/tendenci.

Open Source Alternative to ASP.NET membership [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently, we are rolling our own user, groups, permissions, etc. code and supporting database.
I'd like to find something like ASP.NET membership that can help manage user authentication and authorization, rather than risk security issues in continuing to create an increasingly complicated custom solution. Are there any similar projects out there worth taking a look at?
If you are looking for off site user authentication you might want to consider openid. People have added openid support to cherrypy.
If you are looking for more user management type code. I guess it depends on exactally what you are doing but others have done user management before, why not leverage off them. Skeletonz is a CMS written on top of cherrypy. If you are not wed to cherrypy you might also want to consider Pinax. It's built on Django with the idea of reusing work others have done so you don't have to do it again.

Where can I find good python Twisted framework documentation, blog entries, articles, etc? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm playing around with Twisted and documentation found on their homepage doesn't answer all my questions.
The topic I am most interested at the moment is Twisted Application Framework. Also some open source servers using twisted framework would provide nice material for studying how it's all tied up together in a bigger project.
So far I've checked out iCal and read documentation on twisted website (3x) and few good articles I found in google.
I think you need to get your concepts right to start with. I found this blog post to be helpful.
Introduction to Asynchronous Programming and Twisted
The published book is pretty useless, in my opinion.
I recommend starting with the "deferred" docs online, and making absolutely sure you understand what asynchronous means and what deferreds are for. The best online docs that I've found are on the official site, though they could surely use some polishing:
http://twistedmatrix.com/trac/wiki/Documentation
The developers recommend reading the source as well, though if you have specific questions, I've found that the devs hang out and respond on both the IRC channel (#twisted on the freenode network) and the online mailing lists (There's a general and a twisted-web specific list)
As for blogs, there's at least the two below (both blogs are by twisted developers). I bet if you asked this same question on the twisted-python mailing list, you'd get a much better and more comprehensive answer than I could possibly give. :-)
http://oubiwann.blogspot.com/
http://glyph.twistedmatrix.com/
Divmod has some medium sized projects which use Twisted and might make good additions to your reading list. Additionally, the Twisted Community Code in Launchpad will give you a much longer list of Twisted-based projects to look at.
I found the Twisted Network Programming Essentials book to be a useful guide when first learning Twisted. Although it is more of a Twisted "cookbook". Some of its "recipes" are useful.
There's an overview here: The Twisted Network Framework.
Bruce Eckel wrote a nice article that points out some of the weird names Twisted uses: Grokking Twisted. According to that article, there are some good examples in The Python Cookbook, 2nd Ed (O'Reilly).
This unofficial tutorial is, in my opinion, the absolute definitive way to learn Twisted.
It contains step by step examples on how to use everything from super basic to advanced features. Everything is motivated by first doing it the hard way so that you really understand what problem each part of the Twisted solves.
I've used software based on Twisted for five years but it was only after working this tutorial that I now really understand it and use it from scratch for my own programs.
This is not self-promotion. I do not know the author of the tutorial to which I linked.

Categories