Django 3rd day

Posted in python by pedro | Wednesday, February 14th, 2007 at 3:04 pm

Now Django has no chance. After admin panel my expectation are very high.

But once again I was wrong.

Today tutorial 4, I didn’t achieve tutorial 4 because i play basketball and I’ve got appointment tomorrow about 7 a.m.

OK, URL managing, in my opinion it’s better than RoR because you have full control about it. For example

(r’^polls/(?P<poll_id>\d+)/$’, ‘mysite.polls.views.detail’),

Means that django all URL that matches regular expression

r’^polls/(?P<poll_id>\d+)/$’

Sends to module mysite.polls.views and call detail() function like

detail(request=<httprequest>, poll_id=’23′)

Next, tutorial shows how to write views, template. Finally it shows us a shortcuts. Yeah the functions from django.shortcuts boosts developing speed.

The last part of tutorial before me, and I’m thinking about topic of application to write, yet another blog is too easy for django and it’s admin module. So please suggest me something.

Regards
Pedro

Technorati Tags: ,

Leave a Reply

about me

My name is Sebastian Pietrowski. I've finished Warsaw University as Master degree. I started my journey with Java 1.1 with Thread and JDBC programing in 1998 as I worked for merlin.pl. In 1999 I've passed Java Programer Certificate for Java 1.2, and was solution architect of merlin.pl infrastructure when we was moving from pl/sql to J2EE. It was great performance optimization with 10 times more req/sec than in requirements and 85 times faster as original solution.

Currently I work as Expert Software Development Java at F.Hoffmann-La Roche. The company was founded in 1896 and today, Roche employs over 80.000 people. After work I'm involved in activities related to Scala/Lift, Ruby/Rails/Merb, Python/Django. This is because I try to be pragmatic also I'm focused on application performance and tuning with success in my daily work.

My Yoda's motto: Do, or do not. There is no try.