Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Szép volt, jó volt
Véget ért a Magyarországi Web Konferencia 2006. Django: Python on Rails c. előadásom fóliái megtekinthetők online. A prezentációhoz kapcsolódó blogmotor forráskódjai letölthetők TAR csomagban. A diasort is mellékeltem. Köszönöm többek között Dohány Tamás *, Farkas Szilveszter * és Őry Máté * elismerő szavait, valamint köszönöm a szervezőknek ezt az újabb kiváló színvonalú konferenciát. * Török [...] -
Just for always and for ever be with me
Idén is, ahogy már tavaly is, noha ezúttal új köntösben, van szerencsém bemutatni az érdeklődő hallgatóságnak a webes technológiák egy éppen aktuális gyöngyszemét. A 2006-os Magyarországi Web Konferencián Django: Python on Rails címmel fogok előadást tartani. 17-én, szombaton 22.00-kor a Love Alliance Soundsystem lép fel a Sarkban. Február 23-án pedig a ... -
(defun webconf () (“Jó volt, szép volt”))
Végetért a 2007-es Magyarországi Web Konferencia. A CEU konferencia központ négy termében párhuzamosan zajló, összesen 24 előadás komoly szakmai anyaggal várta az érdeklődő közönséget – a Java és ASP.NET gyakorlati bemutatókon keresztül az elméletibb síkon mozgó eszmefuttatásokig. Alkalmazásfejlestés Djangóval és GWT-vel címmel tartott előadásomat a teli hasú hallgatóság számára gondolatébresztőnek szántam, egy általam elgondolt webalkalmazás [...] -
Web 2.0 workshop: fejlesztőknek fejlesztőktől
November elején jelentette be Bártházi András a közösség előtt, hogy Palócz Istvánnal karöltve januárban szándékoznak megrendezni a Web 2.0 workshop névre keresztelt szakmai konferenciát, amelyen hazai előadók tolmácsolásában ismerkedhet meg a hallgatóság a webkettő technikai oldalával változatos gyakorlati előadásokon keresztül. A rendezvény természetes ellensúlyozója az igen hevesen bírált, mintegy féléve levezényelt Web 2.0 Synopsynmnak ill. Internet Hungary 2006-nak, ahol – ellentétben a hype-pal – a korszerű webes megoldások fejlesztőket és felhasználókat érintő problémái kerültek terítékre. A Web 2.0 workshopon abban a megtiszteltetésben részesültem, hogy Bártházi András, Palócz István és Fekete Ferenc előadói társaságában (további előadók kerestetnek!) az általam igen kedvelt Python alapú Django keretrendszer ajaxos aspektusait mutathatom be az érdeklődőknek. Az előadásom egyben logikai folytatása is az első Magyarországi Web Konferencián tartott Django: Python on Rails prezentációmnak. A szakmai nap közösségi döntés folytán január 20-án, szombaton lesz. A részvételi díj 9 900 Ft. -
Lessons Learned from a Django Deployment
This website was built with Django 1.2.4, and is hosted by Webfaction.com. Webfaction is easy to set up, and if you are not a deployment expert (i.e. you are not Jacob Kaplan-Moss) that's what you should use. I followed James Bennet's book some of the way. It has a few errors in the code and it is a little dated, but it helped me as a beginner. You can find it here. Use django-taggit django-tagging is kind of dead, and Alex Gaynor (who is probably the most productive programmer who can't buy alcohol legally in the US) has made a better and more extensible alternative: django-taggit. It actually has a couple of extensions and it's on Eric Holscher's Read the Docs here. Pay attention to which Python Version you are using Webfaction (like just about every computer) has multiple versions of python installed, and one (usually not the one you want) will be used when you type "python" To use the one you want, say 2.6, you either type "python2.6" every time, or you add this line to your ~/.bash_profile (create it if it's not there): alias python=python2.6 Some use ~/.profile or ~/.bashrc instead. Read more about the difference (or … -
Translate Rancho
Rancho is available in English, Portuguese and Spanish (okay, I know some strings are not *yet* updated but they’ll be). As we think it’ll benefit more people who don’t speak these languages, we’re asking for translators who want to contribute to this Open Source project. We have a nice Rosetta app installed where the translators [...] -
Python class at Master in Free Software 09/10
Last Friday I gave an introduction to Python as class in Master in Free Software. In this session I tried to cover Python from the very basics to decorators, properties and PDB. All covered only as an overview, not in deep detail. After the introduction we did a simple PyGTK application to list the files [...] -
Apologies to Django Community
I have my blog syndicated in Django Community since a while now and I’ve always respected Django Community’s rules by only having Django related posts appearing there, that is, by making good use of the Django category/filter have syndicated there. Today, I’ve realized that many of my posts unrelated to Django have appeared in Django [...] -
Going to GUADEC
One more year, Igalia will give me the chance and the pleasure to attend GUADEC one more year, this time in Den Haag. My fellow Igalians Iago, Alejandro Piñeiro and José Dapena will give talks about Grilo, Cally and Modest 4, respectively. As for me, I’m hoping my lightening talk about Text Prediction on GNOME [...] -
Going to FOSDEM!
… and also, this year I giving two presentations there. I’m presenting OCRFeeder in the GNOME DevRoom and SeriesFinale in the Embedded/Mobile DevRoom! I just love FOSDEM, the spirit of it, the number of important Open Source projects in there and the city of Brussels! If you wanna have a chat about OCRFeeder, SeriesFinale, Hildon [...] -
Django på FSData, en howto
hej -
Django på FSData, en howto
hej -
Lessons Learned from a Django Deployment
-
Lessons Learned from a Django Deployment
This website was built with Django 1.2.4, and is hosted by Webfaction.com. Webfaction is easy to set up, and if you are not a deployment expert (i.e. you are not Jacob Kaplan-Moss) that’s what you should use. I followed James Bennet’s book some of the way. It has a few errors in the code and it is a little dated, but it helped me as a beginner. You can find it here. Use django-taggit django-tagging is kind of dead, and Alex Gaynor (who is probably the most productive programmer who can’t buy alcohol legally in the US) has made a better and more extensible alternative: django-taggit. It actually has a couple of extensions and it’s on Eric Holscher’s Read the Docs here. Pay attention to which Python Version you are using Webfaction (like just about every computer) has multiple versions of python installed, and one (usually not the one you want) will be used when you type “python” To use the one you want, say 2.6, you either type “python2.6” every time, or you add this line to your ~/.bash_profile (create it if it’s not there): 1 alias python=python2.6 Some use ~/.profile or ~/.bashrc instead. Read more about the difference … -
Lessons Learned from a Django Deployment
This website was built with Django 1.2.4, and is hosted by Webfaction.com. Webfaction is easy to set up, and if you are not a deployment expert (i.e. you are not Jacob Kaplan-Moss) that’s what you should use. I followed James Bennet’s book some of the way. It has a few errors in the code and it is a little dated, but it helped me as a beginner. You can find it here. Use django-taggit django-tagging is kind of dead, and Alex Gaynor (who is probably the most productive programmer who can’t buy alcohol legally in the US) has made a better and more extensible alternative: django-taggit. It actually has a couple of extensions and it’s on Eric Holscher’s Read the Docs here. Pay attention to which Python Version you are using Webfaction (like just about every computer) has multiple versions of python installed, and one (usually not the one you want) will be used when you type “python” To use the one you want, say 2.6, you either type “python2.6” every time, or you add this line to your ~/.bash_profile (create it if it’s not there): 1 alias python=python2.6 Some use ~/.profile or ~/.bashrc instead. Read more about the difference … -
django-mediasync 2.0: Havana Nights
It's been almost a year since the last release of mediasync, but the new features we've worked on are worth the wait! If you use mediasync, please indicate that you do so on our Django Packages profile. Source on GitHub: https://github.com/sunlightlabs/django-mediasync Package on PyPI: http://pypi.python.org/pypi/django-mediasync/ Install with pip or easy_install: pip install django-mediasync easy_install django-mediasync What is this media syncing you speak of? For those of you new to the project, mediasync is a Django app that manages static media in both development and production. Imagine a project where you have to make updates to existing media, but all references are hardcoded to some absolute path in production. Do you update the production media and risk breaking the site or do you temporarily point to local media and hope you don't forget to revert the change? With mediasync you don't need to worry about any of that. Paths to media are automatically generated: local in debug, remote in production, and manually overridden when needed. Modify your media in your local development environment then use mediasync to push the change to the remote production server. Reduce stress and add years to your life! A whirlwind tour of new features Pluggable backends … -
Why you should go to Pycon
Because you are new to PythonIf you want to get better at Python then Pycon is one of the better avenues to learn. Think of it as a nine day data dump of Pythonic knowledge straight to your brain!When it comes to the fundamentals of Python, the tutorials are a great way to hit the ground running. How do you think I learned? Also, there are dozens of beginner talks designed to introduce you what highly qualified people think you should be doing. Finally, the sprints are a great way to work with real experts for days - because even the most advanced projects needs people to knock out the invariable score of simple bugs, do documentation and write additional tests.Also, Zed Shaw is going to teach his Learning Python the Hard Way tutorial throughout the conference. (follow that link!) To summarize, besides going over his lessons and some basic conference coaching, he's going to take his class to conference talks and then bring them back to apply what was learned. He won't be doing it alone either - a number of other python folk are going to volunteer their time to help, and I'm going to be one of … -
Dutch Django meeting in Amsterdam, part one
Again a nice Dutch Django meeting in the American book center's do-it-yourself conference center in Amsterdam. Two bigger talks and a couple of lightning talks. Books I read and liked: recommendations - Wim Feijen Just some good books. Too many to list in a summary :-) Either "the big moo" or "purple cow" by Seth Godin. Just read one of 'em. No bullshit guide to management. Eckart's notes: real nice, read it when interesting about expanding but staying small. Four hour work week by Ferriss. Ignore lots of things. Become an expert. Don't answer the phone but design a system that deals with it. Best explanation available of the pareto principle available. Getting real. Inmates are running the asylum. New venture, starting up: about writing business plans. Code complete. Principles of beautiful web design. Wonderful for designers. Homepage usability by Nielsen. Integrating XHTML validation with unit tests - Erik Romijn Tag soup is normally inconsistently parsed. All sorts of problems if your html isn't valid. You are going to forget to validate and re-validate your pages once in a while. So integrate it in your unit tests! xhtml is proper xml and it has a DTD, so you can validate … -
Django south article
I normally don't do short posts with just a link, but this warrants an exception: http://www.djangopro.com/2011/01/django-database-migration-tool-south-explained/ I can't hope to explain South any better :-) We're starting to use South for more and more projects. It helps a lot when doing iterative development. You do need to take a little extra care, though, but south pays itself back many times over. -
Django south article
I normally don't do short posts with just a link, but this warrants an exception: http://www.djangopro.com/2011/01/django-database-migration-tool-south-explained/ I can't hope to explain South any better :-) We're starting to use South for more and more projects. It helps a lot when doing iterative development. You do need to take a little extra care, though, but south pays itself back many times over. -
django-socialregistration and 'closed' sites.
I develop a 'closed' system. It isn't that not just anyone can use it - hell, we'd love to have more customers, but the users of the front-facing site (myROSS) are not the same as our customers, who use the backend indirectly through our client application. The outcome of this is that we do not allow for registration on myROSS. The only way you can become a user of myROSS is if your company uses The ROSS System, and you have been added by your manager, franchisee or whatever. However, I have been looking at django-socialregistration a bit lately: it is a very clean way to allow users to register and then login using Facebook, Twitter OAuth, and OpenID. Since one of the reasons that many of our 'users' do not use myROSS as much as we would like is because it is another password to remember, and also because most of our users are younger employees of Quick Service Restaurants, we are hoping that allowing them to use their Facebook or Twitter credentials will mean the barrier to use of myROSS is reduced. So, I would like to be able to use socialregistration to allow currently registered users to … -
Celery uses spin-loops. Gah!
Here’s another cautionary performance tale. If you use Celery subtasks to manage parallel work, know going in that it uses spin-loops to monitor subtask progress. Specifically, if you get a TaskSetResult from a TaskSet and then use iterate() or join(), the underlying code will eat your CPU alive. Here’s the code in celery.result.TaskSetResult: The symptom [...] -
A performance lesson on Django QuerySets
At work, we’ve contracted with PostgreSQL Experts to help us improve our Postgres performance. After analyzing our system, one of their consultants, Christophe Pettus, found glaring problems in how some of my code accessed our database. I consider myself well-informed about good database access practices in Django, and in general. I might not exactly hit [...] -
Postgres site will migrate to Django
One interesting tidbit from last night’s PostgreSQL BOF session was the news that Postgres’ site would be migrated to Django within the next year. This came from Josh Berkus. Postgres’ site now is apparently generated from a bespoke PHP script mishmash. Josh said that tasks like creating new forms was much harder than they ought to [...] -
Pinax Tutorial at Pycon 2011
Tutorial Name: Pinax Solutions at Pycon 2011 (March 9th)This year I am yet again part of a two man team providing instruction on Pinax at Pycon. Last year's Long Pinax Tutorial went well, with myself and James Tauber receiving a lot of positive feedback plus some really good constructive criticism.Based off that criticism and our own experiences since last year's tutorial we decided to make some changes, specifically we wanted our class to be very solutions focused. Think of it as an organized brain dump of how best to start a project, leverage in the Pinax framework plus the rest of the Django ecosphere to do all that tedious make work we so dislike. Using these tools will let you focus on your project's unique attributes, meaning you get to focus on all the fun stuff!Another big change to the class is that Brian Rosner will be taking over in James' place as co-presenter (last year he was instrumental in reviewing the content of the class). Brian is a Django core committer, a Pinax core developer, the tech lead of Eldarion, and the steward of Gondor. If you like how the current Django admin works, you can thank him for his hard work. …