DISQUS

The Disqus Blog: A Django Primer - Creating a Simple Blog Application

  • Italian Restaurant · 10 months ago
    Wow . Its so difficult to create blog application. Thanks for the guide. It will definitely be a great help to me . I would love to try it out. Hope that it will turn out to be successful.
  • Ritika · 2 years ago
    beautiful... simply beautiful. I had my CRUD app ready and working in an hour!
  • Sup · 2 years ago
    How do I get my DJango to redirect the / directory. I've setup various rules for / but cannot get it to work
  • Sup · 2 years ago
    How do I get Django to redirect the / directory. Ive set up the URL's in the project as well as app directory

    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.
  • Jason · 2 years ago
    @Sup

    Use the regular expression r'^$' to match /
  • John · 2 years ago
    Great tutorial. I've been looking around for something simple and well-explained to get my feet wet with Django. This was perfect; not too much, but not an overly-simplistic "helloworld" either. I was a developer on the Prado framework project some time ago. Developers often reason that if a framework is sound and feature rich users will come. But, I learned a long time ago that it is actually documentation that keeps them interested in learning. Now, I actually am looking forward to learning more about Django. Good work!
  • tredinertok · 2 years ago
    Hello

    Very interesting information! Thanks!


    Bye
  • serge · 2 years ago
    nice tutorial - thanks for taking the time to post it.

    one question about a possible correction. should the line:

    first_post.date = datetime.now

    be

    first_post.date = datetime.now()

    ?
  • Fashion Shop · 10 months ago
    Have you customize the script? By reading datetime.now(), it will be referred to a function. Unless you have a function declared, youu will not be using datetime.now()
  • James · 2 years ago
    Hi,

    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,
  • angvp · 2 years ago
    I have a doubt... if django is powerfull, and you made an easy and simple blog application, why you still using wordpress for your blog?

    Cheers
  • nusyUseni · 2 years ago
    I’ve got an Amazon gift certificate burning holes in my pocket,
    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.
  • Sascha · 2 years ago
    Thx for this Blog Post!
    It's my start with Django ;-)
  • bse · 1 year ago
    The "Controller" from MVC is also there, somehow at least. It's the urls.py that controls which view is to be used.
  • shakir · 1 year ago
    Great article

    I've just started with django, and djangobook doesn't seem to help me much. Thanks.
  • Pero · 1 year ago
    Thanks for this tutorial!

    Worked like a charm.
  • Pero · 1 year ago
    Thanks for this tutorial!

    Worked like a charm.
  • chriswpage · 1 year ago
    Great tutorial. It was very helpful in reinforcing the learning process.
  • chriswpage · 1 year ago
    Great tutorial. It was very helpful in reinforcing the learning process.
  • SHrek · 1 year ago
    yeah. I was just looking for one like this. great job
  • Sameer Maggon · 1 year ago
    Thanks!!! Liked it!
  • Sameer · 1 year ago
    Thanks!!! Liked it!
  • Monkut · 1 year ago
    Thanks for the tutorial, this really helped me understand and appreciate the basic architecture of a django site.

    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()
  • Monkut · 1 year ago
    Thanks for the tutorial, this really helped me understand and appreciate the basic architecture of a django site.

    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()
  • Sebastian · 1 year ago
    I guess
    first_post.date = datetime.now
    should be
    first_post.date = datetime.now()

    Can you fix that?

    Thanks for the nice tutorial anyways!
  • Sebastian · 1 year ago
    I guess
    first_post.date = datetime.now
    should be
    first_post.date = datetime.now()

    Can you fix that?

    Thanks for the nice tutorial anyways!
  • abhishekworld · 1 year ago
    Hi Its a great tutorial ,
    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..
  • SHrek · 1 year ago
    yeah. I was just looking for one like this. great job
  • abhishekworld · 1 year ago
    Hi Its a great tutorial ,
    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..
  • abhishekworld · 1 year ago
    Hi Its a great tutorial ,
    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..
  • Jason · 1 year ago
    Note that maxlength has been changed to max_length, so if you are getting this error:

    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)
  • Jason · 1 year ago
    Note that maxlength has been changed to max_length, so if you are getting this error:

    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)
  • sdf sdf dsf · 1 year ago
    csdafsdf sdf sdf sdf
  • WAP Advertising · 1 year ago
    The Django tips were helpful. Thanks for the elaborate explanation.
  • WAP Advertising · 1 year ago
    The Django tips were helpful. Thanks for the elaborate explanation.
  • Racing Schools · 12 months ago
    Clean stuff man. This is way too exciting.
  • Racing Schools · 12 months ago
    Clean stuff man. This is way too exciting.
  • Amazon Saver · 11 months ago
    Thanks for sharing, I like the Disqus, this is the best comment application I ever seen!
    But I don't know python, do you have any php code like this?
  • Ionut · 11 months ago
    Very mucj appreciate the step by step configuration. You have my gratetude . Cheers
  • Johny · 11 months ago
    Very mucj appreciate the step by step configuration. You have my gratetude . Cheers
  • Johny · 11 months ago
    Very mucj appreciate the step by step configuration. You have my gratetude . Cheers
  • SGBonta · 10 months ago
    Wow . Its so difficult to create blog application. Thanks for the guide. It will definitely be a great help to me . I would love to try it out. Hope that it will turn out to be successful.
  • SGBonta · 10 months ago
    Wow . Its so difficult to create blog application. Thanks for the guide. It will definitely be a great help to me . I would love to try it out. Hope that it will turn out to be successful.
  • Singapore SEO · 10 months ago
    Have you customize the script? By reading datetime.now(), it will be referred to a function. Unless you have a function declared, youu will not be using datetime.now()
  • Singapore SEO · 10 months ago
    Have you customize the script? By reading datetime.now(), it will be referred to a function. Unless you have a function declared, youu will not be using datetime.now()
  • Singapore Escorts · 10 months ago
    Thanks for the tutorial and the effort put in by the team. Great Job.
  • Singapore Escorts · 10 months ago
    Thanks for the tutorial and the effort put in by the team. Great Job.
  • Singapore Escorts · 10 months ago
    Thanks for the tutorial and the effort put in by the team. Great Job.
  • Property Sale · 9 months ago
    Wow, Django has so much to do with the settings. Its awesome. Thanks for the tutorial and.............great job.
  • Property Sale · 9 months ago
    Wow, Django has so much to do with the settings. Its awesome. Thanks for the tutorial and.............great job.
  • Skylar Saveland · 9 months ago
    Where are all the good walk-throughs on the auth system?
  • Skylar Saveland · 9 months ago
    Where are all the good walk-throughs on the auth system?
  • Skylar Saveland · 9 months ago
    Where are all the good walk-throughs on the auth system?
  • nutrition foods · 9 months ago
    Thanks for the info. May God have mercy on us all.
  • for you health · 9 months ago
    nice article! nice site. you're in my rss feed now ;-)
    keep it up
  • for you health · 9 months ago
    nice article! nice site. you're in my rss feed now ;-)
    keep it up
  • Cara B Levi · 9 months ago
    great article!, grats for u site :)
  • Cara B Levi · 9 months ago
    great article!, grats for u site :)
  • Angela Poole · 8 months ago
    130156
  • Angela Poole · 8 months ago
    130156
  • ezditto · 8 months ago
    Thanks for the detailed articles!Might start creating an application soon!
  • Duple Ang · 8 months ago
    It seems to be very complicated!
  • ezditto · 8 months ago
    Thanks for the detailed articles!Might start creating an application soon!
  • Duple Ang · 8 months ago
    It seems to be very complicated!
  • replicaloh · 8 months ago
    This looks like its extracted from a book.Thanks!
  • Jasmine Lim · 8 months ago
    It looks like it isn't that easy to create a blog application
  • jonaw · 8 months ago
    I guess I have to print this out to really analyze which is the first step! Its so detailed.How I wish there are pictures provided in a step by step format!Ok. I shan't be lazy.Thanks for the guide!
  • Annie · 8 months ago
    A very thorough manual. However, may I know how often are this information updated? I believe Disqus really have hard-core supporters when they always provide unlimited help or sources to people
  • jonaw · 8 months ago
    I guess I have to print this out to really analyze which is the first step! Its so detailed.How I wish there are pictures provided in a step by step format!Ok. I shan't be lazy.Thanks for the guide!
  • jonaw · 8 months ago
    I guess I have to print this out to really analyze which is the first step! Its so detailed.How I wish there are pictures provided in a step by step format!Ok. I shan't be lazy.Thanks for the guide!
  • Annie · 8 months ago
    A very thorough manual. However, may I know how often are this information updated? I believe Disqus really have hard-core supporters when they always provide unlimited help or sources to people
  • Property Singapore · 8 months ago
    A very thorough manual. However, may I know how often are this information updated? I believe Disqus really have hard-core supporters when they always provide unlimited help or sources to people
  • Ryan Low · 8 months ago
    I didn’t do much programming myself and this seems tough to me! The only programming I have done is t o change the template of my blog and editing information of it.
  • ryanlow · 8 months ago
    I didn’t do much programming myself and this seems tough to me! The only programming I have done is t o change the template of my blog and editing information of it.
  • jonaw · 8 months ago
    I guess I have to print this out to really analyze which is the first step! Its so detailed.How I wish there are pictures provided in a step by step format!Ok. I shan't be lazy.Thanks for the guide!
  • Property Singapore · 8 months ago
    A very thorough manual. However, may I know how often are this information updated? I believe Disqus really have hard-core supporters when they always provide unlimited help or sources to people
  • ryanlow · 8 months ago
    I didn’t do much programming myself and this seems tough to me! The only programming I have done is t o change the template of my blog and editing information of it.
  • Outsourcing Philippines · 7 months ago
    thanks for the tutorial, i already bookmark your site, very informative.
  • Jak · 6 months ago
    In case anyone wants to know, some stuff in this tutorial are pretty out of date; and that's expected in a 2 year old post.

    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! :)
  • Jak · 6 months ago
    In case anyone wants to know, some stuff in this tutorial are pretty out of date; and that's expected in a 2 year old post.

    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! :)
  • Jak · 6 months ago
    In case anyone wants to know, some stuff in this tutorial are pretty out of date; and that's expected in a 2 year old post.

    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! :)
  • wallace530 · 5 months ago
    great post sir..
    thanks for sharing. really helped a lot here.
    --------------------------------------------------
    Ugg Boots | Uggs
  • Weber Grill Parts · 2 months ago
    interesting article indeed
  • Wap Advertising · 1 year ago
    The Django tips were helpful. Thanks for the elaborate explanation.