Django community: Community blog posts 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 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
-
Agile team seeks talented Software Developer
Are you a recent Software Engineering graduate looking to join an Agile team? Or do you have 3 years industry experience and a passion for learning? We're a fast-paced, well-funded Web 2.0 business looking for a pro-active software developer to join our talented, self-organizing software development team. About you You are hungry to learn: You actively seek change — always looking for opportunities to improve professionally, and to help your team develop. You read software-related publications, welcome criticism of your work and offer your colleagues honest feedback. You're willing to try new things: Want to try your hand at requirements gathering or UI design? If the idea of becoming a Generalizing Specialist appeals, this could be the right job for you. You have excellent communication skills: You're comfortable communicating verbally, graphically or in written text, and you’re happy explaining technical concepts to non-technical people. You’re qualified and/or experienced: You have a Software Engineering degree, an equivalent certificate from a leading organization (e.g.: IEEE-CS, BCS) or have at least 3 years experience. You appreciate a sociable, friendly and supportive working environment: We value technical expertise and encourage developers to exercise their initiative and engage with the business as a whole.This is … -
Django Modelleriyle Paket Yöneticisi
Birçok web uygulama ve python geliştiricisi, Django'nun harika bir web çatısı olduğunu düşünür. Ancak, Django'yu bir web çatısı olmakla sınırlandırmak, bence biraz haksızlık olur. Django'nun parçalarının mümkün olduğu kadar birbirinden bağımsız olmasından dolayı, kolaylıkla istediğiniz parçasını, kendi uygulamalarınıza dahil edebilirsiniz. Django'nun kişisel olarak en sevdiğim yanı veritabanı uygulama geliştirme arayüzü olduğu için, Django'nun veritabanı geliştirme arayüzünü nasıl kendi projemize dahil edebileceğimizi göstermek için, küçük bir örnek yapmak istedim.Örneğimizde, çok basit, sadece iki fonksiyondan oluşan bir paket yöneticisi yazacağız. Lütfen örnekdeki kodu çalıştırmaya çalışmayın. Örnek olsun diye yazılmış, bir kez bile denenmemiştir. Bunu açıklığa kavuşturduğumuza göre, işe koyulalım. İlk iş, uygulamanız için bir dizin oluşturup, içinde bir Django projesine başlamak. mkdir PaketYoneticisi cd PaketYoneticisi django-admin.py startproject veritabani cd veritabani django-admin.py startapp Paket Gerekli dizin yapılanmasını ayarladıktan sonra, Django projesi ayarlarından gereksiz kısımları atabilirsiniz. Sadece veritabanı kullanacağımız için, şu kadar ayar yeterli olacaktır: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'paketler.db', # Or path to database file if using sqlite3. 'USER': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty … -
Django Modelleriyle Paket Yöneticisi
Birçok web uygulama ve python geliştiricisi, Django'nun harika bir web çatısı olduğunu düşünür. Ancak, Django'yu bir web çatısı olmakla sınırlandırmak, bence biraz haksızlık olur. Django'nun parçalarının mümkün olduğu kadar birbirinden bağımsız olmasından dolayı, kolaylıkla istediğiniz parçasını, kendi uygulamalarınıza dahil edebilirsiniz. Django'nun kişisel olarak en sevdiğim yanı veritabanı uygulama geliştirme arayüzü olduğu için, Django'nun veritabanı geliştirme arayüzünü nasıl kendi projemize dahil edebileceğimizi göstermek için, küçük bir örnek yapmak istedim.Örneğimizde, çok basit, sadece iki fonksiyondan oluşan bir paket yöneticisi yazacağız. Lütfen örnekdeki kodu çalıştırmaya çalışmayın. Örnek olsun diye yazılmış, bir kez bile denenmemiştir. Bunu açıklığa kavuşturduğumuza göre, işe koyulalım. İlk iş, uygulamanız için bir dizin oluşturup, içinde bir Django projesine başlamak. mkdir PaketYoneticisi cd PaketYoneticisi django-admin.py startproject veritabani cd veritabani django-admin.py startapp Paket Gerekli dizin yapılanmasını ayarladıktan sonra, Django projesi ayarlarından gereksiz kısımları atabilirsiniz. Sadece veritabanı kullanacağımız için, şu kadar ayar yeterli olacaktır: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'paketler.db', # Or path to database file if using sqlite3. 'USER': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty …