Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
My Latest Project: BackTrac Backup System
My life has been pretty busy as of late, mostly with a new project I am working on called Backtrac. I am developing a network backup solution, written entirely in Python - using the Django framework as a front-end web interface. This came at quite a good time, as I've been asked to give a presentation on any highly technical topic, on which I know my stuff. The plan is to use Backtrac as a base, and to explain the technical concepts behind the system that make it work. The things I am going on concentrate on are: Pyhon in general XML-RPC Filesystem hardlinks The MVC concept, and Django This should be enough content to fill a 15-minute slot, I hope. Now I'll explain a little bit about how Backtrac works, for the benefit of those not coming to the presentation. What I wanted to achieve with Backtrac was a smart backup system, that doesn't necessarily have to be the fastest. I wanted a very detailed web interface, with scheduling capabilities and log view. I decided on Django for this, seeing as I had already decided on Python for the system itself. The nodes in the system use XML-RPC to … -
Django Staging Server: Apache Configuration
In this post, I'd like to talk a little about how my staging server (called Kaylee, after the character from Firefly), is configured to run the multiple Django projects that I have on the go. A lot of the other articles I have read on this subject use mod_python but my server is configured to use WSGI, so that's what I will be going over in this post. Beginnings Firstly, I use virtualenv to keep the Python environments for the different projects separate, but that's a topic in itself. This isn't a requirement, but it helps if you have dependencies that you don't want installed system-wide, or projects that use different versions of a particular package. You can read more about virtualenv and Django here. The directory structure for my /opt/webapps/ directory looks something like this: webapps/ |-- apache | |-- coral.conf | |-- coral.wsgi | |-- myuni.conf | `-- myuni.wsgi |-- coral | |-- env | `-- repository |-- myuni | |-- env | `-- repository The two projects shown here are Coral Issue Tracker and MyUni. The directory for each project contains the virtual env for that project, and the repository. Alongside the project folders is a directory … -
Backtrac Implementation - The Major Decisions
Thinking a lot about my 3rd year project, I've been considering how to implement a backup system based around a Django server. So far, I have reached the conclusion that the system will consist of three main parts: The Django server (yet to be named) The client daemon (backtracd) The backup library itself (backuplib) As I mentioned in the previous post, the Django server will be based around Celery. This will offer me the ability to schedule a task for a certain date and time in the future, which is a huge part of the implementation taken care of. One thing I am yet to figure out, however, is how the server will communicate with the client daemons. At the moment I'm thinking XML-RPC, but it seems to me that it will end up a sort of mish-mash of different technologies - as the Django server will be exposing a JSON API (probably via Piston). I have also considered running Django on the clients too, so everything can use JSON/Piston, but this seems at the moment like an unnecessary burden. Another thing to consider is the data that is to be transmitted between the nodes. Should I use a bunch … -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Katharine Vaquez
Thanks - Enjoyed this article, can you make it so I get an alert email when you make a fresh post? -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Valder
Yes, I had thought to remove these two columns, but I never have time to improve it ... -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Oak Furniture
I ran into this page accidentally, surprisingly, this is a amazing website. The site owner has carried out a superb job of putting it together, the info here is really insightful. You just secured yourself a guarenteed reader. -
Quản lý subsite với django
Khi phát triển một website cho các hệ thống quản lý và thương mại, chắc hẳn mọi người sẽ gặp một bài toán như sau: "Ví dụ bạn xây dựng một website abc.com và muốn khi người dùng đăng ký với tên là xyz thì sẽ tự động tạo ra một site cho người dùng dưới dạng http://abc.com/xyz hoặc tên miền mà người dùng lựa chọn". Với bài toán như vậy chúng ta sẽ xây dựng website ra sao để có thể quản lý được các site con như vậy?Đây là một bài toán mà nhiều người đã và đang giải quyết. Nếu sử dụng các hệ thống có sẵn như Joomla, Drupal, Wordpress hay Plone thì đã được hỗ trợ phần nào. Với Django thì bạn thực hiện bài toán đó như thế nào? Được truyền cảm hứng từ bài viết của pduyha (Cấu hình Apache với nhiều Django site), với cách làm trên thì mỗi lần tạo một site mới chúng ta phải restart lại Apache (hoặc có cách reload). Nhưng khi số lượng site lớn dần thì công đoạn đó sẽ mất thời gian đáng kể. Bên cạnh đó sẽ có sự lãng phí tài nguyên và … -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Missy Clipper
How do I transfer my Blogger feed readers to my Wordpress blog? -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por TOMS Shoes Coupons
Wow, amazing blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is fantastic, let alone the content! -
Django class based view walkthrough: TemplateView
-
django CMS 2.1.4 security release issued
django CMS 2.1.4 security release issued -
Django'da Tembel Reverse
Django'da reverse(), argüman olarak verdiğiniz görünüm fonksiyonuna giden url'i bulur, ve bu url'i bir karakter dizisi olarak döndürür. Ancak bazı durumlarda, bu fonksiyonu kullanamazsınız. Örneğin, url bilgilerini tutan modüle dahil ettiğiniz modüllerde bunu kullandığınızda sıkıntı çıkaracaktır. Çünkü bu fonksiyonu kullandığınızda, url bilgilerinin zaten yüklenmiş olması gerekir. Bu tip sorunların önüne geçmek için, reverse_lazy() fonksiyonu geliştiriliyor. Yanlış bilmiyorsam, şu anda sadece geliştirme sürümünde bulunuyor bu fonksiyon. Bu fonksiyonun özelliği, url'i aramaya fonksiyon çağırıldığında değil, url kullanılmaya çalışıldığında başlaması. Bu fonksiyonun davranışını django'nun kararlı sürümünde şu şekilde kullanmayı başardım: from django.utils.functional import lazy from django.core.urlresolvers import reverse reverse_lazy = lazy(reverse, str) # reverse kullanmanız gerektiğinde: aradigim_url = reverse_lazy("app.views.view",args=[arguman]) ## reverse fonksiyonu henüz çalışmadı. url'i kullanmaya çalışmanızı bekliyor. print(aradigim_url) ## reverse fonksiyonu şimdi çalışıyor, ve url'i ekrana basıyoruz. -
Django'da Tembel Reverse
Django'da reverse(), argüman olarak verdiğiniz görünüm fonksiyonuna giden url'i bulur, ve bu url'i bir karakter dizisi olarak döndürür. Ancak bazı durumlarda, bu fonksiyonu kullanamazsınız. Örneğin, url bilgilerini tutan modüle dahil ettiğiniz modüllerde bunu kullandığınızda sıkıntı çıkaracaktır. Çünkü bu fonksiyonu kullandığınızda, url bilgilerinin zaten yüklenmiş olması gerekir. Bu tip sorunların önüne geçmek için, reverse_lazy() fonksiyonu geliştiriliyor. Yanlış bilmiyorsam, şu anda sadece geliştirme sürümünde bulunuyor bu fonksiyon. Bu fonksiyonun özelliği, url'i aramaya fonksiyon çağırıldığında değil, url kullanılmaya çalışıldığında başlaması. Bu fonksiyonun davranışını django'nun kararlı sürümünde şu şekilde kullanmayı başardım: from django.utils.functional import lazy from django.core.urlresolvers import reverse reverse_lazy = lazy(reverse, str) # reverse kullanmanız gerektiğinde: aradigim_url = reverse_lazy("app.views.view",args=[arguman]) ## reverse fonksiyonu henüz çalışmadı. url'i kullanmaya çalışmanızı bekliyor. print(aradigim_url) ## reverse fonksiyonu şimdi çalışıyor, ve url'i ekrana basıyoruz. -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Valder
yeap ... i dont know what happens i just aprove the comments and say thanks for all :D -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Kitesurfing Shop
A lot of of the opinions on this blog page dont make sense. -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Funny Quotes
Thankyou for sharing Configurando um projeto Django no UOL Host – segunda parte | Valder Gallo with us keep update bro love your article about Configurando um projeto Django no UOL Host – segunda parte | Valder Gallo . -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Emma Stone
this post is special haha i am bookmarking your blog man -
Using Django's class based views
-
Django class based views: initial comments
-
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Free Laptops With Broadband
Fantastic read. Thanks a lot for Posting. -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Immigration
You got a very fantastic website, Glad I detected it through yahoo.your link on my blog here http://tinyurl.com/immigration1001 , -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por freshwater pearl necklaces
I do believe all the ideas you have offered for your post. They are really convincing and will definitely work. Still, the posts are too short for novices. May just you please extend them a little from next time? Thanks for the post. -
New: Views as a package
This pattern allows for refactoring the view code into several files without effecting the import process in other files. In other words from coolapp.views import foo still works. -
Django-Autocomplete, and all your requests will be complete, but be careful with the horn
Bon, je suis encore en retard pour la django app du mois de juillet, mais je m’améliore, je n’ai plus que 20 jours de retard. Espérons que la django app du mois d’aout soit à l’heure…. En attendant de voir si en août, à l’heure je serais, je vous propose de découvrir cette petite django-app bien sympatique. Mais avant un peu de contexte. Je cherche depuis quelques temps une django app pour faire de l’autocompletion. Djangopackages qui est décidément très souvent mon ami propose un tableau récapitulatif assez sympa d’un certain nombre d’app qui propose cela. Parmi la liste, j’ai décidé de tester django-autocomplete qui me paraissait le mieux répondre à mes besoin, à savoir de l’autocomplete facile coté admin, comme coté site non admin. Nouveauté ce mois si au niveau du billet, je vais vous présenter deux versions de l’app à savoir la version ‘officielle’ faite par tyrion et un fork fait par etienned. Pourquoi vous présentez deux versions ? Parce que la version d’etienned propose quelques améliorations visuelles intéressantes (et quelques petits refactor pas débiles). 1- Où on le trouve, comment on l’installe, tout ça quoi (et la doc) ? Ici cela dépends de la version que vous désirez tester … -
Comentário sobre Configurando um projeto Django no UOL Host – segunda parte por Valder
thank you for your comments, I hope to be helpful :D