Django community: Community blog posts RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
DjangoCon 2011 – RESTful APIs: Promises & Lies
After a slow set of lightning talks and an amazing Keynote from Brad Fitzpatrick the first talk of day 2 is about to start. This talk is delivered by Tareque Hossain on APIs. Over the last few years RESTful APIs have become an integral part of many Django projects. But some of the fundamental questions [...] -
Django Project Plugin for Gedit 3
Gedit Django Project is my new plugin for Gedit 3 which adds some GUI interfaces to the Django CLI project management commands (django-admin.py and manage.py). Features Create new projects (manage.py startproject) and apps (manage.py startapp). Supports most of the django-admin.py and manage.py commands. Run the Django development server (manage.py runserver) in a dedicated bottom panel. Run the interactive Python interpreter (manage.py shell) in a dedicated bottom panel. Run the interactive database shell (manage.py dbshell) in a dedicated bottom panel. Management commands which produce usable output such as dumpdata, sql, inspectdb can optionally be loaded into a new Gedit document. Select appropriate apps from a GUI list of available apps for management commands which take a list of apps as parameters. -
US Open CourtConnect Launch!
The US Open CourtConnect site allows you to watch in real-time what people are talking about on Twitter and Facebook regarding the US Open. You can see personal photos taken right at the event by the general public, as well as those tweeted by players, experts and celebrities. CourtConnect takes the tweets and status updates and automatically color commentates by attaching facts relevant to the keywords in the message. It also highlights experts, players and celebrity tweets so you know who is who. CourtConnect was built in Python using Django 1.3 and jQuery using Masonry in a very compressed timeline by Rudy Menendez, the team at Blenderbox and myself. We were able to use APIs from Mass Relevence and Pusher to push this site through that timeline. Other cloud services used are Embedly and EC2. The architecture If you've ever heard me talk about loosely coupled architectures, you know I'm a huge fan. Loosely coupled processes do not completely depend on any other process behaving properly or at all. An example of a loosely coupled process would be how your smartphone's email program depends on an internet connection. You can still view and even compose an email without that internet … -
DjangoCon 2011 Day 1 Lunch
With the first mornings talks all wrapped up we headed upstairs for a complimentary lunch. The lunch was delicious and consisted of chicken marinated in a mango-pepper sauce, salmon with a sesame glaze, fresh grilled peppers, zucchini, onions and peppers, a wild rice and a salad. I wasn’t expecting much from a free meal but the [...] -
DjangoCon 2011 – Confessions of Joe Developer
Next up is Daniel Greenfeld talking about his experiences with Django. Over the course of 6 years of Python development at NASA, Revsys, and Eldarion; Daniel Greenfeld has picked up a lot of easy tricks stolen from the best and brightest in the Python community that make him look good in front of his peers [...] -
New Arevco Site Launched
The third iteration the Arevco Lighting web site is now up. The old site was simple HTML and images generated from a script, which I quite liked but wasn't the easiest thing for other people to update. The new site has been professionally skinned and is now running a Django CMS with some custom index code for product pages. I used the following: Django Gerbi (nee django-page-cms) Filebrowser no-grappelli fork TinyMCE I've used Gerbi now for a few public web sites. It's a well designed and usable CMS that is quite easy to extend. It also has good multilingual support that will make translating content as easy as editing the pages. -
Retrieving Google Analytics data with Python…
Sometimes you may need to display some visitors/page views statistics on your website. There is an easy way to pull this data from your Google Analytics and display it using a simple Python code. -
DjangoCon 2011 – Portland
DjangoCon 2011 officially launches in just under 2 hours (12pm EST, 9am PDT) and you can already feel the excitement in the air (actually, most people are just starting to wake up). This year you’ll be able to follow along even if you’re not in lovely Portland by heading on over to http://djangocon.us/livestream/ where they’ll be live streaming both [...] -
Get your (arcade) game on!
-
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Valder
OK, i dont care -
Django'da Sınıf Temelli Genel Görünümler
Django'da geliştirirken, ister istemez genel görünümlere dokunuyoruz. Son günlerde, django gezegeninde ve mail gruplarında, sınıf temelli görünümlerden bahsedildiğini gördüm, ancak, bunların nasıl kullanılacağı hakkındaki bilgim yok denecek kadar azdı. Bu yüzden, Django belgelerine biraz göz attım, ve etkin kullanıldığında, sınıf temelli görünümlerin, çok verimli olabileceği kanısına vardım. Şimdilik yüzeysel olarak, örnekler ve kısa açıklamalar yazmak istedim, kendimi bu konuda geliştirirsem, ileride daha derin olarak inceleyebilirim bunları.Şablonlar # uygulamam/views.py from django.views.generic import TemplateView class Hakkimda(TemplateView): template_name = "hakkimda.html" Django'nun genel görünümlerinden TemplateView, bir şablonu olduğu gibi tarayıca göndermeye yarıyor. Burada, Hakkimda isimli sınıf temelli bir görünümü, TemplateView'den türetip, template_name değişkeninin, yani şablon adını belirleyen değişkenin, üstüne yazdık. Böylece, tarayıcıya hakkimda.html şablonunu gönderen bir görünümü hızlıca yazdık. Şüphesiz ki bu, baştan bir görünüm yazmaktan daha hızlıdır. Bu sınıfı, bir url ile eşleştirmek için, urls.py içerisinde gerekli ayarları yapmamız gerek. # urls.py from django.conf.urls.defaults import * from uygulamam.views import Hakkimda urlpatterns = patterns('', (r'^hakkimda/', Hakkimda.as_view()), ) Hakkimda, bir sınıftır, url ile eşleştirdiğimiz ise, bu sınıfın as_view metodunun döndürdüğü görünüm fonksiyonu. Anlaşılan, sınıf temelli görünümlerin kendileri aslında görünüm değiller. Gerekli görünüm fonksiyonlarını, sınıfın as_view metodundan alıyoruz. Ayrıca, buradaki gibi, sadece tek bir özelliğin üstüne yazılması gereken durumlarda, bunu yeni bir sınıf türetmeden, hemen urls.py … -
New: Automatically Filling in a User in the Admin
Sometimes it is nice to automatically add the current user into a field, like to easily keep track of the last user who modified a record or automatically set the “author” of a record. In earlier versions of Django this was pretty simple, but with validation added to Django, it requires a bit more work. -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Galvanni
Don't you care plainly reference much of this on my small site easily post a hyperlink back in this site? -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por new japanese sports cars
Fantastic goods from you, man. Configurando um projeto Django no UOL Host – segunda parte | Valder Gallo I've understand your stuff previous to and you are just extremely great. I actually like what you have acquired here, really like what you're stating and the way in which you say it. You make it entertaining and you still care for to keep it smart. I can not wait to read much more from you. This is really a wonderful Configurando um projeto Django no UOL Host – segunda parte | Valder Gallo informations. -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por email cover letter
I agree with your Configurando um projeto Django no UOL Host – segunda parte | Valder Gallo, great post. -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por http://jocuri-impuscaturi.ro/jocuri/7/Jocuri-cu-arma.html
A further issue is video games are typically serious anyway with the key focus on learning rather than enjoyment. Although, there is an entertainment aspect to keep the kids engaged, each and every game will likely be designed to focus on a specific experience or program, such as numbers or technology. Thanks for your publication Configurando um projeto Django no UOL Host – segunda parte | Valder Gallo. -
Mixing Django Forms
So you ever wanted to mix a simple Django form (subclass of django.forms.Form) and a model form (subclass of django.forms.ModelForm)? TL;DR. Some background » I was coding a website which has an email-based authentication backend (for the record it is based on this snippet). Such a design decision implies that you have to take care of multiple things, and among them the forms. Django authentication system provides multiple default forms for login, password editing and so on. They perfectly fit the default situation (basic user name and password authentication), but they have to be tweak in any other case. However I didn't wanted to rewrite my forms from scratch, so obviously after a quite intense inheriting session, I found myself having some highly refactorable code, mainly because I always needed to add an email form field. My first idea was to create a simple object subclass which just contains the field and its validation method, and make all my forms inheriting from this proxy class (definitely not sure it's a good name for it, suggestions?). I knew that Django forms are more complicated than that in their way to "discover" fields, yet I tried. Yeah, it didn't work. Next idea: … -
Why doesn't it work? Everything seems right! Common causes.
-
Getting Started using Python in Eclipse
Eclipse with the PyDev module has a lot to offer the Python programmer these days. If you haven't looked at PyDev before, or not in a while, it's worth checking out.Here are some of my favorite features:One-keystroke navigation to the definitions of variables, methods, classesCode completion, including automatically adding import statementsClean up importsRefactoring, including renaming ... -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por classic hip hop
Old School Hip Hop History: the total bad sub-culture.blah. -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por darts
I found your blog on yahoo. I think it's pretty nice. -
Caktus Consulting Group Sponsors DjangoCon 2011
                                                                                              DjangoCon 2011 is coming up next week and I'm ... -
New: Introduction to Decorator Applications
A decorator app is an application that adds functionality to another application without the application's awareness. It is different than a Python decorator, rather it follows the idea from Design Patterns: Elements of Reusable Object-Oriented Software. -
Django Admin Snippets
At its minimum, the Django Admin is an effective tool for viewing and manipulating data within a Django database. At its max, it can be a robust application allowing clients and administrators to better manage their web applications. This article aims to highlight some of the admin customizations that I ... -
Impressive Satchmo Sites
I’m starting a project for a client in Satchmo and wanted to show him some sample stores produced with the technology so that he’d feel more comfortable with what it’s capable of. The following are the standouts after going through all the items on this list: blacklockjewellery.com qwertee.com livestrongfitness.com jeepcollins.com spoonnyc.com snowsportsonline.com zutano.com abodeliving.co.uk shopjoielle.com Quick note: while scanning through these sites it became very obvious how important is for a site to have a quick response time. When I clicked some of the links on the stores that I went to the site just wouldn’t respond to my requests. It just feels a lot better when the site is snappy and ready to serve you.