Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Dutch Django meeting - lightning talks
-
Scalable Vector Graphics (SVG) - Jeroen Dijkmeijer
-
My SOPA boycott
I'm against SOPA and PIPA.I believe that those bills will kill not just free speech, but also business within the USA. Innovation will wither. I'm also of the belief that those companies trying to get SOPA into place don't realize that no idea is new and if SOPA passes they'll be hammered with an increasing amount of takedowns and suits against them for anything they do. Litigation based on SOPA won't be as easily handled as the current status quo.I've signed the petitions, I've posted on Twitter, Facebook, and Google. That isn't enough. I have to be willing to make a sacrifice. And in this case I'm going to make the sacrifice my vote.My vote sacrifice is a boycott. It's directed at any politician, local or otherwise:My Boycott:If you as a politician vote for SOPA/PIPA then you lose my vote. Regardless of whatever other opinions you have or party you belong to, you've lost me as a supporter.If SOPA/PIPA passes you can get my vote back by voting for what bill that destroys SOPA/PIPA is nominated.If SOPA/PIPA fails you can get my vote back by voting against whatever bills are resurrected to replace SOPA/PIPA.I will ignore party boundaries. I will … -
Building secure Django websites - Erik Romijn
-
Back
-
Some quick Django optimisation lessons
Some tips for keeping your Django apps lean and mean from the beginning, using lessons from django-fiber, -
Three cheers for SourceTree
I'm not a big fan of GUIs for version control software. On Windows I've tried all the Tortoise incarnations, but they always just seem to slow me down. The built in Git GUI was decent but, at the end of the day, it was always easier to just use the command line. When I switched to using a Mac full time, I didn't spend much time looking. I installed MacHg and GitHub for Mac but never used them. I was, though, having trouble finding a good Mac file comparison tool. On Windows I'd always been relatively happy with Beyond Compare. It was fast and has a ton of features. So, I still haven't found a decent comparison tool for Mac, but I did stumble onto a great VCS GUI. SourceTree has been absolutely great to work with. I pretty much have it open full time as there's no need to switch between apps (it does Git, Mercurial, and SVN). It just happens to have built-in integration for GitHub, BitBucket, and Kiln (of which I use all three). And, as far as I can tell, it's free. If you're on a Mac, I highly recommend it. -
Three cheers for SourceTree
I’m not a big fan of GUIs for version control software. On Windows I’ve tried all the Tortoise incarnations, but they always just seem to slow me down. The built in Git GUI was decent but, at the end of the day, it was always easier to just use the command line. When I switched to using a Mac full time, I didn’t spend much time looking. I installed MacHg and GitHub for Mac but never used them. I was, though, having trouble finding a good Mac file comparison tool. On Windows I’d always been relatively happy with Beyond Compare. It was fast and has a ton of features. So, I still haven’t found a decent comparison tool for Mac, but I did stumble onto a great VCS GUI. SourceTree has been absolutely great to work with. I pretty much have it open full time as there’s no need to switch between apps (it does Git, Mercurial, and SVN). It just happens to have built-in integration for GitHub, BitBucket, and Kiln (of which I use all three). And, as far as I can tell, it’s free. If you’re on a Mac, I highly recommend it. -
Forms Part 2: Class Based Forms
Forms are generally annoying to deal with. Fortunately Django offers some great ways to work with forms to make your life easier. In this our second part on forms we walk you through Class Based Forms in Django on our way to understanding the breadth of what you can do with forms in Django.Watch Now... -
Forms Part 2: Class Based Forms
Forms are generally annoying to deal with. Fortunately Django offers some great ways to work with forms to make your life easier. In this our second part on forms we walk you through Class Based Forms in Django on our way to understanding the breadth of what you can do with forms in Django.Watch Now... -
Imaginary recognized for DSF membership
Django Software Foundation president Russell Keith-Magee recently recognized Imaginary Landscape as one of the first Corporate Members of the DSF. Imaginary Landscape and one other firm were identified in the blog post appearing on the Django Weblog. "The DSF would like to thank these two companies for their generous contributions ... -
Getting DjangoCMS up and running on ActiveState's Stackato
ActiveState has recently started their own PAAS based on CloudFoundry this blog post is to help you get up and running quickly with a Django CMS installation, and hopefully give you enough information to get your own applications on there as well. To keep things simple, I'll just go through the steps that are required in order to get this up and running and add some comments along the way. If I missed anything or if you have any questions, please ask in the comments. Running on Stackato 1. Register for an account Go to http://community.activestate.com/stackato and register for your account. They are currently in beta, and you need to be approved before they will give you access. 2. Install the client There are a few different options, follow the steps outlined here. http://docs.stackato.com/quick-start.html#stackato-client-setup I tried the option where you download the file, and rename it and put it in your path. It wasn't complicated, but it wasn't clean either. I chose this option because I didn't want to install pypm, so I'm not sure if that way is easier or not. 3. Register your client to the cloud Now that you have the client installed you need to tell … -
Django in Production: Part 3 - Automation & Monitoring
This is the third part in a series about Django in Production. If you haven't already, read part 1 and part 2 first. In the first two posts of this series, I described the core stack which powers a Django application in production, and the Celery task queue which can be used to execute code asynchronously. In this third post, I'll describe how a production Django application can be monitored, and how common tasks such as deployment can be automated. Monitoring Django Applications There are many ways to monitor a Django application, but one that is particularly useful is Graphite. Graphite Graphite provides real-time visualization and storage of numeric time-seriesdata on an enterprise level. The key thing is not to be scared by the word enterprise. Graphite is a relatively simple 3-part system: Whisper is an efficient, pure-Python implementation of a round-robin database, and Carbon is a daemon which manages the Whisper database and provides caching. Finally, the Graphite "webapp" provides a Django frontend to the data stored in the Whisper database. Graphite's web interface is, admittedly, hard to use. Its redeeming feature is a powerful URL-based API which allows you to compose graphs programatically - which is in some … -
IP Street’s Senior Developer opening now more about Search, less about Python/Django
After some job market feedback and chin-scratching, I’ve changed our Senior Developer opening’s job description. Now it’s less about Python or Django, and more about search technologies, specifically full-text and LSI search. We hope candidates will have some experience with Python or Django, but search technology experience (e.g., tuning, tokenizers, parsers, relevancy rank tweaking, aggregates and pivots) in now more important, and emphasized, in the the job. Here’s the new description: ——— Founded in 2009, IP Street develops and markets software to help corporations, law firms, financial research firms, and government agencies better analyze patent information. Our goal is to make IP data easy to get, use, and understand, so everyone can have access to high quality and transparent information. A significant facet of our application’s capabilities are derived from Solr and other search technologies. We’re seeking a great full-text Search developer with experience in: Solr, Lucene, or other search engines Full-text search schemas, tokenizers, parsers, and rules for returning statistics and meaningful analytics Automated workflows that process millions of objects Data quality metrics and repairs You’ll be joining us at a great time! Revenue is coming in, and we’ve done two Angel funding rounds at increasing valuations. Key Responsibilities. … -
Installing a Django application on Red Hat's OpenShift PAAS
It seems like everyone has their own PAAS solution these days, and if they don't have one yet, it is just a matter of time before they will. Red Hat has recently joined in on the fun with their OpenShift platform. I decided to take it for a test drive, and share my results with you. This service is still in beta and things are changing all of the time, so these notes might not work in the future, take that into consideration when using it as a guide. There really isn't much python documentation for this platform, and what documentation there is, is either a little out of date, or missing some important steps. Hopefully this guide will help you get your application up and running. OpenShift is divided into two parts, Flex and Express. Flex: "Dedicated cloud solution. Get more control over your apps, or move your existing applications to the cloud with ease! Flex is a dedicated cloud solution that provides everything you need to easily scale, provision, deploy, and monitor your applications." Flex runs on top of your amazon EC2 account, and currently only supports Java and PHP. It is targeting the enterprise crowd and has … -
Django Common App (Part 1)
Here at Tivix we’ve created a number of open source apps that are available for use. In this post we’re going to talk specifically about the django-common app, which provides functionality commonly needed in a django application (in case it wasn’t obvious). WWWRedirectMiddleware WWWRedirectMiddleware redirects requests to make sure they are on the www subdomain or off the www subdomain, depending on your settings. Besides adding ‘django_common.middleware.WWWRedirectMiddleware‘ to MIDDLEWARE_CLASSES, you need to set DOMAIN_NAME in the settings, either with www or not. You need to also set IS_PROD to true, as you don’t want to redirect on localhost. SSLRedirectMiddleware and NoSSLRedirectMiddleware SSLRedirectMiddleware redirects requests to make sure that they are under https. NoSSLRedirectMiddleware makes sure they are under http. ssl_required decorator If you don’t need ssl across the entire site (you oftentimes don’t) you can simply use the ssl_required decorator on the specific view that requires https. disable_for_loaddata decorator This decorator is used to wrap signals instead of views. It disables signals from being fired when the loaddata command is run. See: https://code.djangoproject.com/ticket/8399 EmailBackend The EmailBackend is an authentication backend that works like the default ‘django.contrib.auth.backends.ModelBackend‘ except it finds users by email instead of username. To use it simply add … -
Using django-compressor on ep.io
This is a small tip to how to get django-compressor running on ep.io as smooth as possible. Install django-compressor (add it to your requirements file that is) according to the docs. Add this snippet to you epio.ini, this is to make a symlink to your /media, since this is the only place you can write to on ep.io, and django-compressor can only write to the same place it reads from. [symlinks] static/CACHE = ../data/CACHE I never got STATIC_URL... -
Using django-compressor on ep.io
This is a small tip to how to get django-compressor running on ep.io as smooth as possible. Install django-compressor (add it to your requirements file that is) according to the docs. Add this snippet to you epio.ini, this is to make a symlink to your /media, since this is the only place you can write to on ep.io, and django-compressor can only write to the same place it reads from. [symlinks] static/CACHE = ../data/CACHE I never got STATIC_URL... -
Django app name translation in admin
Motivation for writing this application is that some website editors became confused with mix of english and localized content in Django administration pages. All existing solutions I found involved patching django itself or changing app labels which was problematic for lot of reasons. Hopefully, this application would become excessive, once when patch from Ticket #3591 find it’s way to Django. You can find Django app name translation in admin application on Github -
Configuring a Jenkins Slave
We're pretty avid testers here at Caktus and when one of our Django projects required upgrading to Python 2.7, we also needed to upgrade our Jenkins build environment. Luckily, Jenkins supports distributed builds to allow a master install to delegate tasks to slaves instances. This way we can continue to run our primary build system ... -
Configuring a Jenkins Slave
We're pretty avid testers here at Caktus and when one of our Django projects required upgrading to Python 2.7, we also needed to upgrade our Jenkins build environment. Luckily, Jenkins supports distributed builds to allow a master install to delegate tasks to slaves instances. This way we can continue to run our primary build system ... -
Configuring a Jenkins Slave
We're pretty avid testers here at Caktus and when one of our Django projects required upgrading to Python 2.7, we also needed to upgrade our Jenkins build environment. Luckily, Jenkins supports distributed builds to allow a master install to delegate tasks to slaves instances. This way we can continue to run our primary build system ... -
[Django Day] - Aperta la CFP
[Django Day] - Aperta la CFP Il gruppo WEBdeBS (Web Developer Bresciani), in collaborazione con l’associazione Python Italia, sta organizzando il primo Django Day a livello nazionale. La conferenza si terrà a Brescia il 28 Aprile 2012. E’ ufficialmente aperta la Call For Paper: Le conferenze WEBdeBS si contraddistinguono nell’affrontare esperienze reali tramite il cosiddetto approccio for real: “poche chiacchere e tanta ciccia”. Nei talk del Django Day vorremmo sentir parlare e discutere di scenari concreti, casi di successo, “common pitfalls”, “ best practices”, strumenti/tools particolari a corredo, “batteries” utilizzate, cioè tutto ciò che circonda l’ecosistema Django. Se vuoi raccontare la tua esperienza questa è un’occasione buona per farlo: fino al 10 marzo è possibile inviare proposte di talk e speech sull'argomento Django, scrivendo a cfp@djangoday.it e indicando titolo e abstract del talk che vorresti portare, il tuo nome e cognome e i tuoi riferimenti "social" (Twitter, LinkedIn, Skype): verrai ricontattato dallo staff appena possibile. Ricorda: la CFP chiude il 10 marzo. Per sapere quando verrano aperte le iscrizioni, ricevere novità sull’evento, iscriviti alla newsletter e seguici su twitter @djangoday e @webdebresa. Per qualsiasi contatto diretto non esitare a scriverci a info@djangoday.it Vuoi diventare sponsor del Django Day? WEBdeBS ha alle … -
[Django Day] - Aperta la CFP
[Django Day] - Aperta la CFP body,.backgroundTable{ background-color:#eeeeee; } #contentTable{ border:0px none #000000; margin-top:10px; } .headerTop{ background-color:#0B2226; border-top:1px none #000000; border-bottom:0px none #000000; text-align:right; padding:0px; } .adminText{ font-size:10px; color:#407F6A; line-height:200%; font-family:Helvetica; text-decoration:none; } .headerBar{ background-color:#1F4C4A; border-top:0px none #333333; border-bottom:0px none #FFFFFF; padding:0px; } .headerBarText{ color:#333333; font-size:30px; font-family:Helvetica; font-weight:normal; text-align:left; } .postcardBarText{ color:#333333; font-size:9px; font-family:Helvetica; font-weight:normal; text-align:center; } .title{ font-size:24px; font-weight:bold; color:#407F6A; font-family:Helvetica; line-height:150%; } .subTitle{ font-size:14px; font-weight:bold; color:#000000; font-style:normal; font-family:Helvetica; } .defaultText{ font-size:12px; color:#333333; line-height:150%; font-family:Helvetica; background-color:#FFFFFF; padding:20px; border:0px none #FFFFFF; } .footerRow{ background-color:#0B2226; border-top:1px solid #000000; padding:20px; } .footerText{ font-size:10px; color:#1F4C4A; line-height:100%; font-family:Helvetica; } a,a:link,a:visited{ color:#17488a; text-decoration:underline; font-weight:normal; } .headerTop a{ color:#407F6A; text-decoration:none; font-weight:normal; } .footerRow a{ color:#407F6A; text-decoration:none; font-weight:normal; } body,.backgroundTable{ background-color:#0B2226; } a,a:link,a:visited{ color:#407F6A; } #templateHeader{ padding:0px; background-color:#304948; } Il gruppo WEBdeBS (Web Developer Bresciani), in collaborazione con l’associazione Python Italia, sta organizzando il primo Django Day a livello nazionale. La conferenza si terrà a Brescia il 28 Aprile 2012. E’ ufficialmente aperta la Call For Paper: Le conferenze WEBdeBS si contraddistinguono nell’affrontare esperienze reali tramite il cosiddetto approccio for real: “poche chiacchere e tanta ciccia”. Nei talk del Django Day vorremmo sentir parlare e discutere di scenari concreti, casi di successo, “common pitfalls”, “ best practices”, … -
Release 0.6.4
We just released LFS 0.6.4. This is a yet another bugfix release. Changes Bugfix: fixed price calculation of configurable products. News: We have setup a GitHub mirror of LFS. The docs are running on our own domain now (still hosted on RTD) and have a new layout: http://docs.getlfs.com/ Information You can find more information and help on following locations: Documentation on PyPI Demo Releases on PyPI Source code on bitbucket.org and github. Google Group lfsproject on Twitter IRC