Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
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 -
Profiling Django
At the recent WebDev offsite in Portland, we had a chance to spend the day working on any project we wanted and then show the results off that afternoon. I chose to play around with Socket IO. This is also inspired by a great talk by Alexander Bourget at Confoo. A while back I was trying to profile my Django site and find some speed improvements. I started off by looking for a nice way to profile a Django site and give me some output. That's easy, as it turns out there's some code in Django command extensions that outputs profiles: python manage.py runprofileserver --use-cprofile --prof-path=/tmp/output For each request to your Django site this will output in cprofile format a profile of the request, one per file. Now we just need a tool to read it. When Googling this the main blog posts I found covered a format called kcachegrind, which is used by a tool to output some useful information. Unfortunately on a Mac this means using X Windows, Mac ports and a whole pile of stuff. There's MacCallGrind, but that didn't work, just hung. So that's where I started writing something. Talisker is a Socket IO based server … -
Updated: Django Version Reporting
Updated the example script to use Stefan Foulis' PEP 386-compliant example from https://gist.github.com/1149730 -
Virtualenv in new Terminal windows/tabs
How to open new tabs/windows of Terminal with the last virtualenv used -
Agile team seeks talented Software Developer