DISQUS

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

  • 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!
  • 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()

    ?
  • 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 · 2 years 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 · 2 years ago
    Great article

    I've just started with django, and djangobook doesn't seem to help me much. Thanks.
  • jasonbeta · 1 year ago
    this is a test.