Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a simple view before showing off admin and models #208

Closed
bmispelon opened this issue Dec 1, 2014 · 4 comments
Closed

Create a simple view before showing off admin and models #208

bmispelon opened this issue Dec 1, 2014 · 4 comments

Comments

@bmispelon
Copy link
Contributor

The main objective of this is to have a view mounted at the root so that when we deploy the site to heroku later, there's a page that appears instead of a blank page.

It might also help make the chapter 1 more concrete (showing the request/response cycle, how you map URLs to views, ...).

I would put it at the end of chapter 8, after the reader sees the default "It works" page that Django generates.

Something as simple as:

def say_hello(request):
    return HttpResponse('Hello!')
@d0ugal
Copy link

d0ugal commented Dec 1, 2014

This sounds like a great idea and a good solution to #204.

@pozorvlak
Copy link
Contributor

Yes, excellent idea.

@williln
Copy link
Contributor

williln commented Jul 12, 2015

+1 from me! (Is it creepy that while I wait to board my flight I'm looking through old issues?)

@patjouk
Copy link
Contributor

patjouk commented Jan 27, 2017

Closing it for inactivity. Feel free to reopen it and/or submit a PR ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants