Django community: Community blog posts RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
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... -
Not getting github email notifications
-
[Django Day] - Breaking News!
[Django Day] - Breaking News! Il gruppo WEBdeBS (Web Developer Bresciani), in collaborazione con l’associazione Python Italia, e ora anche con la Django Software Foundation sta organizzando il primo Django Day a livello nazionale. Breaking news: cambio di data! Attenzione: la conferenza si terrà a Brescia il 21 Aprile 2012. Keynote: Grazie alla collaborazione con la Django Software Foundation siamo riusciti ad avere, come ospite d'onore per il Keynote iniziale Aymeric Augustin core developer di Django! Un'occasione da non perdere per capire ,dalla viva voce di un protagonista , la direzione intrapresa dal framework e che cosa ci attende nel prossimo futuro! Aymeric è il principale autore delle nuove features legate al riconoscimento automatico delle TimeZones nell'imminente nuova release 1.4. Il suo keynote sarà incentrato su come è organizzato lo sviluppo del framework : come agiscono i vari attori e come si coordinano tra di loro. Un'occasione da non perdere! Chiusura della 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 sentirai 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 … -
[Django Day] - Breaking News!
[Django Day] - Breaking News! 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, e ora anche con la Django Software Foundation sta organizzando il primo Django Day a livello nazionale. Breaking news: cambio di data! Attenzione: la conferenza si terrà a Brescia il 21 Aprile 2012. Keynote: Grazie alla collaborazione con la Django Software Foundation siamo riusciti ad avere, come ospite d'onore per il Keynote iniziale Aymeric Augustin core developer di Django! Un'occasione da non perdere per capire ,dalla viva voce di un protagonista , … -
Emprenedors
Aquests darrers dies he tingut moltes reunions, la majoria emprenedors que volien demanar un pressupost per al seu projecte. I és aquest fet el que motiva aquest article, ja que amb totes aquestes reunions i amb altres que he tingut abans, hi ha força punts en comú i convé reflexionar-hi Sóc un emprenedor Enhorabona! Jo també. Per mi un emprenedor és un projecte d'empresari. És a dir, algú que té una idea de negoci i que ha de demostrar-ne la seva viabilitat i aconseguir posar-lo en marxa. El que he vist és que hi ha gent que fa servir aquest concepte com a sinònim de "no tenc pressupost" o "no et puc pagar per la teva feina". Amb això ja començam malament. Primer perquè per poder menjar i mantenir el meu propi projecte, jo necessit cobrar la feina, que això de la informàtica potser t'omple espiritualment, però no t'omple la panxa. Més enllà de l'anècdota, crec que tota aquesta publicitat de converteix-te en emprenedor més enllà de la visió romàntica també hauria de tractar aspectes pràctics. Que en les n-mil conferències i trobades es tracten molt per damunt els problemes reals. Emprendre també té un component de viabilitat econòmica, el … -
Yet another tutorial for building a blog using Python and Django – Part 2
In the first part of this tutorial, we got the core elements of our blogging application working - we set up our model for posts, and a view, template and URL configuration to view the index. Next we’ll start extending this very basic functionality - we’ll add a view for individual posts as well, and we’ll allow for each post to have a separate URL. First, we need to set up some pagination for the home page. At this point, it’s worth taking the time to look at how we want our URL to look. Here, we’ll work on the basis that by default, the home page will show the first five blog posts, and if someone wants to see later posts, they need to append a number to the end. Here’s the URL for the second page assuming it’s at example.com: http://www.example.com/2/ So, we need two separate rules for the URLs. We need one for a URL with no number at the end, and one for a URL with a number at the end, and an optional forward slash. Open up urls.py and edit it so the Home page section looks like this: # Home page url(r'^$', 'blogengine.views.getPosts'), url(r'^(?P<selected_page>\d+)/?$', … -
Release 0.7.0 beta 3
We just released LFS 0.7.0 beta 3. This is the next beta relase of the 0.7 branch. What's new? Bugfix: fixed number of columns within cart template (Maciej Wi?niowski) Bugfix: fixed display of localized amount of items within cart portlet; issue #159 Bugfix: don't display non-active products within cart nor add them to order with checkout; adapt tests; fixed issue #154 Bugfix: don't delete OrderItems when a product is deleted Bugfix: added default values for LFS_SHIPPING_* settings Bugfix: removed redundant javascript code; issue #153 Changed: using django-postal 0.9 Changed: removed djangorestframework from dependencies Improved: added label to PropertyGroup's name field; issue #158 Improved: added link to product within order detail view in LM; issue #149 Improved: cleaned up displaying of addresses of orders within LM Updated: Czech translation (naro) Updated: German translation Update: Polish translations (Maciej Wi?niowski) 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 -
Making Money with Python
A while back a friend told me about something called community currency, also know as Local Exchange Trading System. The basic idea of which is that people within a geographical area can exchange goods and services with bespoke unit of exchange rather that traditional cash. So, for instance, you could mow a few lawns in exchange for guitar lessons – even if it isn't the guitar teacher's lawn you are mowing. There's no physical currency as such, members of the community currency rely on volunteers to keep track of how much currency they own. I think this is a marvellous idea. It promotes healthy exchanges without the need to muddy things with something as vulgar as cash. But what struck me after a bit of research is how the whole system is in dire need of mechanisation! There's no centralised place to view your ‘account’ or way to do transactions online, and I figured there should be. So that has been my hobby project for the last few months, I've been building such a site which has recently come together to a point where I'd like to gauge how much interest is out there. I haven't even come up with … -
Making Money with Python
A while back a friend told me about something called community currency, also know as Local Exchange Trading System. The basic idea of which is that people within a geographical area can exchange goods and services with bespoke unit of exchange rather that traditional cash. So, for instance, you could mow a few lawns in exchange for guitar lessons – even if it isn't the guitar teacher's lawn you are mowing. There's no physical currency as such, members of the community currency rely on volunteers to keep track of how much currency they own. I think this is a marvellous idea. It promotes healthy exchanges without the need to muddy things with something as vulgar as cash. But what struck me after a bit of research is how the whole system is in dire need of mechanisation! There's no centralised place to view your ‘account’ or way to do transactions online, and I figured there should be. So that has been my hobby project for the last few months, I've been building such a site which has recently come together to a point where I'd like to gauge how much interest is out there. I haven't even come up with …