Mengu.net - Django http://www.mengu.net/ mengu on web programming. en-us Sat, 31 Jul 2010 02:41:30 PM +0300 Tue, 10 Jun 2003 09:41:01 GMT Mengu.net mengu@mengu.net mengu@mengu.net Django 1.2 Is Released! http://www.mengu.net/post/django-12-is-released Hello everyone!

Got great news here. Django 1.2 has been released yesterday with new updates. Of course this is great and exiciting only for Python developers who use Django since web2py supports many of the new features already. :)

So, let's see what's new in Django..

]]>
2010-05-18 02:15:43 http://www.mengu.net/post/django-12-is-released
Updating Django Models http://www.mengu.net/post/updating-django-models I'm developing one of my start-ups with Django, the most and widely used Python web framework. Currently I'm not using the form class provided by Django built-in so I'm writing my forms in html. After I have created my update form, I thought updating the posted model info like model.attribute = request.POST['attribute'] is not a good way. I have thought a second and I've found my way.

]]>
2010-05-11 05:49:53 http://www.mengu.net/post/updating-django-models
Django vs. web2py http://www.mengu.net/post/django-vs-web2py Many people would like to know the differences between Django and web2py. In this short entry, I will make a comparison of two popular Python web frameworks, Django and web2py.

  • Django is an MTV framework, web2py is a MVC framework.

  • Web2py lets you focus on developing your application, Django doesn't. It wants you to do all its stuff...

]]>
2010-02-22 12:27:17 http://www.mengu.net/post/django-vs-web2py
How To Choose A Web Framework? http://www.mengu.net/post/how-to-choose-a-web-framework I have started my web development journey with PHP. After a long time I heard there is something called web framework and then I wanted to learn the best one for me. I have reviewed and learned many frameworks and because of the fact that I'm a grasping person, I have learnt more than just one. Is this a mistake? A part of me says yes and another part says it's not a mistake. Both have reasons. So in this post, I will try to write a simple and short guide for people who are desperately unstable on choosing a web framework.

]]>
2010-02-04 06:52:39 http://www.mengu.net/post/how-to-choose-a-web-framework
Django "You don't have permission to edit anything" Error http://www.mengu.net/post/django-you-dont-have-permission-to-edit-anything-error If you get an error like this when you login to your Django admin, you might want to check if you have uncommented "admin.autodiscover()" line in your urls.py. :)

]]>
2009-12-27 09:11:58 http://www.mengu.net/post/django-you-dont-have-permission-to-edit-anything-error
A new blog engine with Django http://www.mengu.net/post/a-new-blog-engine-with-django My friend from freenode and a Pardus developer Gökmen Görgen did come to me and told that let's write a Django blog application. My reaction was, man I have done this too many times. What shall be different? And in that moment I thought a blog application, especially designed for developers is something needed so we decided to develop the application.

]]>
2009-12-26 04:02:11 http://www.mengu.net/post/a-new-blog-engine-with-django
Line Breaks in Django and Ruby on Rails http://www.mengu.net/post/line-breaks-in-django-and-ruby-on-rails Let's assume you are developing a blog application with Django or Ruby on Rails. You have created your Post model and everything is working fine, except the paragraphs you have written during creating your new post. How do you solve this problem? It is very simple to do so in both Ruby on Rails and Django.

]]>
2009-11-10 11:10:19 http://www.mengu.net/post/line-breaks-in-django-and-ruby-on-rails