-
Website
http://blog.disqus.com/ -
Original page
http://blog.disqus.net/2007/03/11/a-django-primer/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
donnacha | WordSkill
37 comments · 11 points
-
Jason
164 comments · 22 points
-
Mike Olbinski
88 comments · 17 points
-
Daniel Ha
2195 comments · 396 points
-
Rob Loach
45 comments · 27 points
-
-
Popular Threads
-
Disqus: The Official Blog - Disqus Comments: Translated in over 40 languages
5 days ago · 27 comments
-
Disqus: The Official Blog - Disqus Comments: Moderating comments from your Post
2 weeks ago · 68 comments
-
Disqus: The Official Blog - Disqus Comments: Closing comments on Wordpress and some bug fixes
4 weeks ago · 85 comments
-
DISQUS | Service Status - Maintenance window
19 hours ago · 1 comment
-
DISQUS | Service Status - Everything is back to normal.
1 day ago · 2 comments
-
Disqus: The Official Blog - Disqus Comments: Translated in over 40 languages
The error is as follows.
Using the URLconf defined in mproject.urls, Django tried these URL patterns, in this order:
1. ^foo/
2. ^/
3. ^bar/
The current URL, , didn't match any of these.
Use the regular expression r'^$' to match /
Very interesting information! Thanks!
Bye
one question about a possible correction. should the line:
first_post.date = datetime.now
be
first_post.date = datetime.now()
?
I like this django tutorial! Though simple, it covers some of the things that other tutorial didn't! Wish there's more to come.
cheers,
Cheers
and I want to get the most bang for my buck.
Enter the Secret Amazon Web Pages:
http://tinyurl.com/38sojf
This is where you’re going to find the "latest sales, rebates, and limited-time offers" from
Amazon, and you can score some pretty deep discounts if you’re a savvy shopper.
Next, there’s the special Sale link. This is open every Friday, and ONLY on Fridays.
You can find the same good discounts here as you would in hidden Deals, although some
Fridays you can really get lucky and make off like an Amazon bandit - I’ve seen discounts
there as low as 75% off sticker price.
It's my start with Django ;-)
I've just started with django, and djangobook doesn't seem to help me much. Thanks.
Worked like a charm.
Worked like a charm.
One note, I think this caused a warning, shown after performing first_post.save():
first_post.date = datetime.now
Should probably be:
first_post.date = datetime.now()
One note, I think this caused a warning, shown after performing first_post.save():
first_post.date = datetime.now
Should probably be:
first_post.date = datetime.now()
first_post.date = datetime.now
should be
first_post.date = datetime.now()
Can you fix that?
Thanks for the nice tutorial anyways!
first_post.date = datetime.now
should be
first_post.date = datetime.now()
Can you fix that?
Thanks for the nice tutorial anyways!
i have one problem as you have mention in admin module we can able to see post which we make through shell but in my case i cant even see any label called post.. is there any reason for this..
i have one problem as you have mention in admin module we can able to see post which we make through shell but in my case i cant even see any label called post.. is there any reason for this..
i have one problem as you have mention in admin module we can able to see post which we make through shell but in my case i cant even see any label called post.. is there any reason for this..
TypeError: __init__() got an unexpected keyword argument 'maxlength'
then you need to change the line in models.py to:
title = models.CharField(max_length=100)
TypeError: __init__() got an unexpected keyword argument 'maxlength'
then you need to change the line in models.py to:
title = models.CharField(max_length=100)
But I don't know python, do you have any php code like this?
keep it up
keep it up
But I still found this very helpful, mainly because gave me an 'objective'. And I still followed the tutorial, as much of it still applies. When I ran into errors or problems, I just headed over to http://docs.djangoproject.com/en/dev/intro to hunt down the more up-2-date methods of doing things (for example, I had problems implementing the 'admin class' column sorting).
So, THANKS! :)
But I still found this very helpful, mainly because gave me an 'objective'. And I still followed the tutorial, as much of it still applies. When I ran into errors or problems, I just headed over to http://docs.djangoproject.com/en/dev/intro to hunt down the more up-2-date methods of doing things (for example, I had problems implementing the 'admin class' column sorting).
So, THANKS! :)
But I still found this very helpful, mainly because gave me an 'objective'. And I still followed the tutorial, as much of it still applies. When I ran into errors or problems, I just headed over to http://docs.djangoproject.com/en/dev/intro to hunt down the more up-2-date methods of doing things (for example, I had problems implementing the 'admin class' column sorting).
So, THANKS! :)
thanks for sharing. really helped a lot here.
--------------------------------------------------
Ugg Boots | Uggs