Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Sandboxing Django Reusable Apps
A couple days ago Brian Rosner posted a great article on Reusable App Conventions. If you haven't read it yet it's worth a read or two. I have a few in the works and want to quickly discuss sandboxing your development process for reusables using Pinax. -
Emacs Terminal Emulator
In Distraction Free Progamming with Emacs I mentioned the ability to have a shell or terminal running in a window within your workspace. This is extremely handy to run tests in Python Shell or to see when something is going wrong with your code. The emacs wiki is a great source of information but I'll give you a quick rundown on how to get up and running quickly. -
Eclipse PDT 2.0 Stable Release
Finally it is there! The first stable release of the PDT plugin for Eclipse Ganymede (at least the first I see). Following the project plan the M1 release should have been there yesterday - maybe they meant the stable release. I'm hoping my anticipation will not be tainted as was unable to check it out for myself till now. -
Eclipse PDT 2.0 Stable Release
Finally it is there! The first stable release of the PDT plugin for Eclipse Ganymede (at least the first I see). Following the project plan the M1 release should have been there yesterday - maybe they meant the stable release. I'm hoping my anticipation will not be tainted as was unable to check it out for myself till now. -
Eclipse PDT 2.0 Stable Release
Finally it is there! The first stable release of the PDT plugin for Eclipse Ganymede (at least the first I see). Following the project plan the M1 release should have been there yesterday - maybe they meant the stable release. I'm hoping my anticipation will not be tainted as was unable to check it out for myself till now. -
Shifting Bits: Twitter Integration Added
I just added integration to Twitter so that when making a blog post active in Shifting Bits a post is sent to the Twitter account configured in the settings.py file. As part of the post to Twitter, the url for the post is passed through urlzen to shorten the link so everything is nice an tidy. This post will serve as it's first public test (so hopefully it works!). -
Shifting Bits: Twitter Integration Added
I just added integration to Twitter so that when making a blog post active in Shifting Bits a post is sent to the Twitter account configured in the settings.py file. As part of the post to Twitter, the url for the post is passed through urlzen to shorten the link so everything is nice an tidy. This post will serve as it's first public test (so hopefully it works!). -
Why you should try Django : Agility
Disclaimer: I'm not naive enough to think that Django is for everybody and that's why the title reads 'try' and not 'use'. However, I do think after giving Django a chance and breaking out of your cycle you will be impressed. I also realize due to where I'm aggregated I'm preaching too many of the converted. However, perhaps if nothing else this will help your arguments when persuading others or your work to give Django a go. I'm also going to assume you know nothing about Django or even much about programming. Finally, I write this as I am getting more and more frustrated with having to work in other environments. Clients often don't know what they want, I think this is a sore spot shared by many web developers. Companies often know they 'want' and 'need' a website but usually they don't know why, what they need or what they can even do. This can make the development process a bit rocky. I've found that often clients start to get a better idea of what they want/need as the development progresses. This is exactly why dynamic, agile development is so beneficial. So let's set the scenes with a very … -
Symfony Latin - UTF-8 problem
I'm currently getting into the Symfony framework and I can definitly say that I like it. But as my site was finished after only some hours I had a problem concerning the display of special characters like the umlauts (ä, ö, ü) aso. I don't use a database created by SF/Propel but use an existing one with latin1_* encoding (the default TYPO3 db encoding). Unfortunatly all umlauts where displayed as questionmark so I started finding an solution. The characters are fuzzy because they were not correctly returned by propel. I tried all configuration directives I found (setting the encoding of the connection to utf-8 aso) but nothing worked. Finally I found a snippet that fixes the problem for me: Setting UTF-8 for Propel with MySQL tables and now everything is just fine! -
Symfony Latin - UTF-8 problem
I'm currently getting into the Symfony framework and I can definitly say that I like it. But as my site was finished after only some hours I had a problem concerning the display of special characters like the umlauts (ä, ö, ü) aso. I don't use a database created by SF/Propel but use an existing one with latin1_* encoding (the default TYPO3 db encoding). Unfortunatly all umlauts where displayed as questionmark so I started finding an solution. The characters are fuzzy because they were not correctly returned by propel. I tried all configuration directives I found (setting the encoding of the connection to utf-8 aso) but nothing worked. Finally I found a snippet that fixes the problem for me: Setting UTF-8 for Propel with MySQL tables and now everything is just fine! -
Symfony Latin - UTF-8 problem
I'm currently getting into the Symfony framework and I can definitly say that I like it. But as my site was finished after only some hours I had a problem concerning the display of special characters like the umlauts (ä, ö, ü) aso. I don't use a database created by SF/Propel but use an existing one with latin1_* encoding (the default TYPO3 db encoding). Unfortunatly all umlauts where displayed as questionmark so I started finding an solution. The characters are fuzzy because they were not correctly returned by propel. I tried all configuration directives I found (setting the encoding of the connection to utf-8 aso) but nothing worked. Finally I found a snippet that fixes the problem for me: Setting UTF-8 for Propel with MySQL tables and now everything is just fine! -
Lightbox Clones Matrix
As I'm currently validating different lightbox clones I'll advert to the brilliant The Lightbox Clones Matrix of PlanetOzh. It lists nearly all lightbox clones and gives the possibility to filter by features and used javascript framework. File size is displayed, too. The Lightbox Clones Matrix -
Lightbox Clones Matrix
As I'm currently validating different lightbox clones I'll advert to the brilliant The Lightbox Clones Matrix of PlanetOzh. It lists nearly all lightbox clones and gives the possibility to filter by features and used javascript framework. File size is displayed, too. The Lightbox Clones Matrix -
Lightbox Clones Matrix
As I'm currently validating different lightbox clones I'll advert to the brilliant The Lightbox Clones Matrix of PlanetOzh. It lists nearly all lightbox clones and gives the possibility to filter by features and used javascript framework. File size is displayed, too. The Lightbox Clones Matrix -
Blango now hosted at byNotes repository
Blango is now hosted at the byNotes source code repository and I'll start doing proper releases soon. However, I feel like Blango has all I need and I don't see any new features I could add (you can check the current features at the project page. How would you enhance it? Leave a comment with your cool idea! -
sPaste|source – a secure, open source, pastebin
A few months ago, I found myself with a frequent itch at work. Often I needed to send sensitive information such as access credentials to co-workers and clients. Obviously email isn’t an acceptable way to send this information, but anything much more complex than email overly frustrates who ever I am sending information to. My [...] -
CivicSquared
This is a call to action, folks. Please go vote for CivicSquared to get funding to bring such a great idea to reality. The Knight News Challenge is a contest where $5 million worth of projects will be funded. The projects are those with a focus "on neighborhood and community-focused projects, services, and programs". The CivicSquared project goal is essentially opening up government: "The same prudence, which, in private life, would forbid our paying our money for unexplained projects, forbids it in the disposition of public moneys." -- Thomas Jefferson CivicSquared is social software that helps communities obtain and discuss information about local legislation, tax allocation, and elected officials' voting records. It will be released as an open source Django application. Most citizens do not know how their local taxes are spent. While it is true that citizens can voice opinions at the public meetings where these decisions are made, there are enormous barriers to effective participation. Some of these barriers include advance access to agendas, to information about issues, and to past deliberations on those issues. Even when agendas are posted in advance, there are often questions, and the impact of legislation on a community is often unclear without … -
Exploring Pinax – Part 6
I think this series of articles is starting to pay off… A few people are using my first article to learn how to set up a new Pinax website. And also, I am getting feedback on how to do things better. On the pinax-users list, Bob Haugen pointed out that I was not following the [...] -
CivicSquared
This is a call to action, folks. Please go vote for CivicSquared to get funding to bring such a great idea to reality. The Knight News Challenge is a contest where $5 million worth of projects will be funded. The projects are those with a focus "on neighborhood and community-focused projects, services, and programs". The CivicSquared project goal is essentially opening up government: "The same prudence, which, in private life, would forbid our paying our money for unexplained projects, forbids it in the disposition of public moneys." -- Thomas Jefferson CivicSquared is social software that helps communities obtain and discuss information about local legislation, tax allocation, and elected officials' voting records. It will be released as an open source Django application. Most citizens do not know how their local taxes are spent. While it is true that citizens can voice opinions at the public meetings where these decisions are made, there are enormous barriers to effective participation. Some of these barriers include advance access to agendas, to information about issues, and to past deliberations on those issues. Even when agendas are posted in advance, there are often questions, and the impact of legislation on a community is often unclear without … -
Django questions and answers with a Swedish guy
Manolo Guerrero, that funny talking Mexican dude who happens to be a jQuery god and excellent friend of mine, introduced me to Andreas Krohn, a great pal from Sweden, evil mind behind WebHostNinja, with whom I've developed a nice Google App Engine and Django based Facebook application that will go live soon and I'll discuss later. Andreas is a highly energetic online entrepreneur and developer who's considering Django for his next project and asked me a few questions about it. These were very good questions that many may have asked before and I thought my answers could help others getting used to the Django way of thinking. <!--break--> Andreas: Alexis, I've spent some time on reading up on Django after your recommendation to use it for the new project. There is really a lot of good documentation online, especially djangoproject.com and djangobook.com, (Ventanazul also helps!), but there are a few questions I haven't found answers to and I wonder if you can point me to some site or other resource that can help me there: How do I use different applications in the same project? Some apps can be kept completely separate, but some need to share templates or functionality. … -
Django questions and answers with a Swedish guy
Manolo Guerrero, that funny talking Mexican dude who happens to be a jQuery god and excellent friend of mine, introduced me to Andreas Krohn, a great pal from Sweden, evil mind behind WebHostNinja, with whom I've developed a nice Google App Engine and Django based Facebook application that will go live soon and I'll discuss later. Andreas is a highly energetic online entrepreneur and developer who's considering Django for his next project and asked me a few questions about it. These were very good questions that many may have asked before and I thought my answers could help others getting used to the Django way of thinking. <!--break--> Andreas: Alexis, I've spent some time on reading up on Django after your recommendation to use it for the new project. There is really a lot of good documentation online, especially djangoproject.com and djangobook.com, (Ventanazul also helps!), but there are a few questions I haven't found answers to and I wonder if you can point me to some site or other resource that can help me there: How do I use different applications in the same project? Some apps can be kept completely separate, but some need to share templates or functionality. … -
Django sitemap class for named views
This sitemap class allows you to specify which named views your sitemap should include. Useful for views that don't map to models, or when you don't want to include all your flatpage or direct-to-template URLs. -
Python Onsen Oct. 2008
Python Onsen Oct. 2008 -
Exploring Pinax – Part 5
Proceeding with my project to learn how to develop a Django web application over Pinax, I build two simple forms: one for submitting a new item, and another to show an item. As one reader commented, up to this point I’m not really using any Pinax feature other than the website structure itself, like authentication, templates and menus. I’m starting with a basic Django application. I hope to add soon features like notification, messaging, tagging, gravatar. So, in this sprint I started by defining two URLs: /pastebin/ to submit a new item /pastebin/<uuid>/ to view a submitted item This is what my apps/oxybeles/urls.py file looks like: from django.conf.urls.defaults import * from oxybeles.models import PastedItem info_dict = { 'queryset': PastedItem.objects.all(), 'slug_field': 'uuid', } urlpatterns = patterns('', url(r'^$', 'oxybeles.views.new', name='oxybeles_new'), url(r'^(?P<slug>[-0-9a-f]{36})/$', 'django.views.generic.list_detail.object_detail', info_dict, 'oxybeles_detail'), ) I also updated apps/oxybeles/models.py so it knows how to build a URL for a pasted item: def get_absolute_url(self): return ('oxybeles_detail', (), { 'slug': self.uuid }) get_absolute_url = models.permalink(get_absolute_url) I wrote a simple form class in apps/oxybeles/forms.py: from django import forms from django.utils.translation import ugettext_lazy as _ from oxybeles.models import PastedItem class PastedItemForm(forms.ModelForm): class Meta(): model = PastedItem fields = ('text',) def __init__(self, user = None, *args, **kwargs): … -
Django Site of the Week - Suggestions Wanted
Over at DjangoSites there is a steady flow of new websites, with a handful showing up every single day. Something really cool is that a growing number of these are either commercial websites that are using Django to make money, or they are very serious in terms of code-base, development effort and online exposure. Django is growing up, and is making an impression on the web at large: I've decided to interview the brains behind these websites to find out why they chose Django, how it assisted their development processes, and how it got in their way. Soon I'll be launching Django Site of the Week, and I want your input. So far I've conducted quick interviews with a number of fantastic websites that are powered by Django. Some of these are commercial and charge their users for access, others are large-scale community projects, and others are a hybrid. I'm in the process of editing them into something useful for the community, with plans to launch Django SOTW within the next few weeks. Each week, I aim to publish an interview with the creators of a Django-powered website that stands out from the other sites listed at DjangoSites. I'm looking …