Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Caktus seeking a Django Contractor
I'm excited to announce that Caktus is looking for a developer to join our team on a contract basis! We're looking for a strong software developer who enjoys working on a team and is excited to learn and experiment with new technologies. We do have a preference for local candidates, but will consider all submissions. ... -
Calendar About Nothing
On October 16th, 2011, which was one hundred and sixty-four days before I published this post, I resolved to get myself onto the Longest Streak list of Calendar About Nothing. Today, with this blog post, I've managed to do just that - get on the Longest Streaks. Calendar About Nothing tracks your open project commits on Github. It tallies your total number of days, records your longest streak, and lets you compare yourself against other committers. The idea comes from an article where Jerry Seinfeld says his secret to productivity is to get something done every day, because if you skip one day then skipping another day is easier. I feel a great sense of accomplishment. The majority of those days I would like to think I did real commits. I pledged to myself to do more than just white space tweaks or write a script to do the work for me. I wanted to accomplish things and make a difference. I started projects, wrote code, cleaned up old code, added tests, documented a lot, and moved my blog here. It's been an awesome time, and keeping my fingers constantly in projects has been eye opening. I feel a great … -
Calendar About Nothing
On October 16th, 2011, which was one hundred and sixty-four days before I published this post, I resolved to get myself onto the Longest Streak list of Calendar About Nothing. Today, with this blog post, I've managed to do just that - get on the Longest Streaks. Calendar About Nothing tracks your open project commits on Github. It tallies your total number of days, records your longest streak, and lets you compare yourself against other committers. The idea comes from an article where Jerry Seinfeld says his secret to productivity is to get something done every day, because if you skip one day then skipping another day is easier. I feel a great sense of accomplishment. The majority of those days I would like to think I did real commits. I pledged to myself to do more than just white space tweaks or write a script to do the work for me. I wanted to accomplish things and make a difference. I started projects, wrote code, cleaned up old code, added tests, documented a lot, and moved my blog here. It's been an awesome time, and keeping my fingers constantly in projects has been eye opening. I feel a great … -
Using django.contrib.markup
Having your users input data and outputting it in ways other than straight plain text can be complicated. However, using different markup languages like markdown can make things easier for you the developer and your users. This video goes over how to use markdown, textile and restructured text built right into Django.Watch Now... -
Using django.contrib.markup
Having your users input data and outputting it in ways other than straight plain text can be complicated. However, using different markup languages like markdown can make things easier for you the developer and your users. This video goes over how to use markdown, textile and restructured text built right into Django.Watch Now... -
Using django.contrib.markup
Having your users input data and outputting it in ways other than straight plain text can be complicated. However, using different markup languages like markdown can make things easier for you the developer and your users. This video goes over how to use markdown, textile and restructured text built right into Django.Watch Now... -
Django HTML5 date input widget with i18n support and jQueryUI DatePicker fallback
Here's my manual for creating a HTML5 form date input with jQueryUI Datepicker and multilingual support. What we need is: 1. django-floppyforms 2. jQueryUI Datepicker + jQuery 3. Modernizr javascript library and of course - Django You need to have some basic python, django & jquery knowledge. Make sure multilingual support is enabled: USE_I18N = True and request context available for -
Gunicorn + Nginx - a much better way to deploy your Django website
I've been a lighttpd + FastCGI django user for a long time. Now there's a better solution -> gunicorn. What is a gunicorn? Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy. If you -
Scrum and Bugzilla
Not all teams at Mozilla follow the same software development methodology. We’re free to design our own workflows, use whatever tools we want, and just generally work in whatever way is best for us. The one component that almost every project uses is Bugzilla for issue and feature tracking. If you’ve ever worked for, or contributed to Mozilla, you have a Bugzilla account. Apart from being a very powerful and configurable tool, this level of participation is a large part of what keeps projects using and wanting to use Bugzilla. Enter Scrum Being software developers, many of us know and like Scrum. I’ve personally found it to be a great method of answering the old questions of “How long will this take?”, and “How much can we get done?”. I won’t go into great detail on how Scrum works here, but the main points are as follows: Work units are scored by the team based on difficulty or expected time consumption. Those work units are included in a “Sprint” usually lasting 2 weeks. Lots of interesting data is generated around team performance. That last point is key. In order to be able to use and appreciate these data, we need … -
Scrum and Bugzilla
Not all teams at Mozilla follow the same software development methodology. We’re free to design our own workflows, use whatever tools we want, and just generally work in whatever way is best for us. The one component that almost every project uses is Bugzilla for issue and feature tracking. If you’ve ever worked for, or [...] -
DjangoCon Europe 2012
DjangoCon Europe 2012 -
Shortcuts to goodness
Evennia, being a MUD-design system, needs to take some special considerations with its source code - its sole purpose is after all to be read, understood and extended.Python is of course very readable by default and we have worked hard to give extensive comments and documentation. But for a new user looking into the code for the first time, it's still a lot of stuff to take in. Evennia consists of a set of Django-style "applications" interacting and in some cases inheriting from each other so as to avoid code duplication. For a new user to get an overview could therefore mean diving into more layers of code than one would like.I have now gone through the process of making Evennia's API (Application Programming Interface) "flatter". This has meant exposing some of the most commonly used methods and classes at a higher level and fully documenting exactly what they inherit av every layer one looks at. But I have also added a new module ev.py to the root directory. It implements "shortcuts" to all the most commonly used parts of the system, forming a very flat API. This means that what used to be from src.objects.objects import Objectcan now be … -
Release 0.6.11
We just released LFS 0.6.11. This is a yet another bugfix release of the 0.6 branch. Changes Bugfix: added csrf token to password reset forms; issue #170 Bugfix: removed double slash from logo URLs; issue #166 Updated German translations 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 LFS on EuroPython 2012 We are sprinting on this year's EuroPython in Florence. Don't hesitate to join us, if you are around, see: https://ep2012.europython.eu/p3/sprints/. -
Django's contrib.auth and django-newauth
Django's contrib.auth and django-newauth -
In mathematics, the sieve of Eratosthenes , is a simple, ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e. not prime) the multiples of each prime, starting with the multiples of 2. You can reed the full description on wikipedia here This is my implememntation def compute(n=100): seq = range(2,n) p = 2
In mathematics, the sieve of Eratosthenes , is a simple, ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e. not prime) the multiples of each prime, starting with the multiples of 2. You can reed the full description on wikipedia here This is my implememntation def compute(n=100): seq = range(2,n) p = 2 -
Yet another tutorial for building a blog using Python and Django - Part 3
Welcome back! In this installment, we’ll make some changes to our URL structure for blog posts, we’ll add support for multiple authors and static pages, and we’ll add some more templates. First of all, our URL structure. The existing structure works fine, but it would be better if we included a representation of the date of publication. If you’re familiar with WordPress, you’ll know it offers several different URL forms, one of which is the post name alone as we’re using here, and another of which is the year, month and name. We’ll use the latter of these URL schemes with our blogging engine. This seems like a good opportunity to introduce the interactive Python shell that comes with Django. Make sure you have a few dummy posts set up, then in the project directory (DjangoBlog/, not the top-level one but the one inside that), enter the following command: python manage.py shell This will start up an interactive Python shell which you can use to interact with your Post objects. Now, the first step is to import your Post model: >>> from blogengine.models import Post We now have access to our Post objects – let’s take a look at them: … -
Release 0.7.0 beta 5
We just released LFS 0.7.0 beta 5. This is the next beta relase of the 0.7 branch. What's new? Bugfix: added csrf token to password reset forms; issue #170 Bugfix: prevent setting of unsupported locale; #issue 165. Bugfix: removed double slash from logo URLs; issue #166 Updated German translations Information You can find more information and help on following locations: What's new for version 0.7 Documentation on PyPI Demo Releases on PyPI Source code on bitbucket.org and github. Google Group lfsproject on Twitter IRC LFS on EuroPython 2012 We are sprinting on this year's EuroPython in Florence. Don't hesitate to join us, if you are around, see: https://ep2012.europython.eu/p3/sprints/. -
Kharkiv.Py #3: JavaScript and Python Back-end presentation
I will talk at Kharkiv.Py #3 about JavaScript and Python as back-end.In short, I will talk about experience with next things:Assets managementJavaScript TemplatesConstants within JS filesBrowser-specific assetsSCSS/LESSCDNStart ar 2:30PMUpdate: I've published slides on SlideShare and published Sample Project on GithubKharkivpy#3: Javascript and Python backend View more presentations from Max Klymyshyn. -
Deploying my Django application to DotCloud: Part 2
As I mentioned in a recent blog post, in the 11 months since I wrote my first post on dotCloud, I now work there. Besides me working there, there has been a lot of other changes at dotCloud, and I wanted to take the time to update my original post so that it was up to date and had all the recent information. I'm going to completely rewrite the old blog post here, with updated information, and leave the old one around for posterity. dotCloud's goal is to provide a bunch of different independent services that you can use as building blocks to build your application. If you need a database, take your pick from one of the many they support. Need an application that uses Django or Rails on the front end, and Java in the backend, that is fine, you can do that too. They realize that most developers don't stick to one standard technology stack for all of their applications, so this allows you the flexibility to use the best tool for the job. It also gives you a nice playground to try out new services and see how they run without having to install, configure and … -
South 0.7.4
Over a year after the last release, I'm finally putting out a new South release. It's been too long, and I'm aware of that - sorry to everyone who has had to run off of a mysterious version around the repository head. Still, I finally found some time to get this release out, as it brings with it Django 1.4 compatability, which has also been released today. You can read more about the release here: http://south.aeracode.org/docs/releasenotes/0.7.4.html -
Software Metrics: A Django Case Study
Software Metrics: A Django Case Study With the permission of the other authors, I'd like to share with you a couple of reports written for an assignment in the Software Measurement and Metrics graduate course I took last semester. For ... -
Software Metrics: A Django Case Study
Software Metrics: A Django Case Study With the permission of the other authors, I'd like to share with you a couple of reports written for an assignment in the Software Measurement and Metrics graduate course I took last semester. For ... -
Release 0.7.0 beta 4
We just released LFS 0.7.0 beta 4. This is the next beta relase of the 0.7 branch. What's new? Bugfix: fixed edit/view product urls; issue #164 (Frank Feng) Bugfix: removed typo; issue #163 (Frank Feng) Bugfix: fixed accessories tab in manage; #issue #162 (Frank Feng) Bugfix: get_base_price_net; #issue #161 Bugfix: display only parent's active base price value for variants Bugfix: take the parent's price calculator for variants Added: Chinese Translations (Frank Feng) Added: default footer for email messages (Maciej Wisniowski) Improved: page pagination for category products view (Maciej Wisniowski) Improved: email templates (Maciej Wisniowski) Updated: German translations Updated: Polish translations (Maciej Wisniowski) Information You can find more information and help on following locations: What's new for version 0.7 Documentation on PyPI Demo Releases on PyPI Source code on bitbucket.org and github. Google Group lfsproject on Twitter IRC -
django-social-auth 101
Django-social-auth is probably the best, at the very least one of the best, Django applications for handling 3rd party authentication systems. It can handle everything from github, twitter, facebook to open-id and browser-id. It is very flexible and easy to setup. This video will show you how to setup it up to work with github and get you started using django-social-auth.Watch Now... -
django-social-auth 101
Django-social-auth is probably the best, at the very least one of the best, Django applications for handling 3rd party authentication systems. It can handle everything from github, twitter, facebook to open-id and browser-id. It is very flexible and easy to setup. This video will show you how to setup it up to work with github and get you started using django-social-auth.Watch Now...