feat: Create a Demo Django website for quick demo / testing#71
feat: Create a Demo Django website for quick demo / testing#71FlipperPA wants to merge 6 commits intoparadedb:mainfrom
Conversation
|
This is supercool. Having and end to end example in there make everything visual. Would you consider it okay to make it part of examples instead of making test an app? Although I wouldnt worry about existing examples since they are runnable code snippets and not a django app in themselves.. But something like this could be a good option and then in examples/Readme.md the instructions can be something like what do you think? |
|
Sure, that might be better in the long run, @ankitml. It might also be better to have some full-text examples; we could pull a few chapters of a public domain book from Gutenberg or something like that. I was just trying to keep the amount of extra code to maintain to a minimum, but we can still keep it pretty lean. |
Unless you'd expect this to be used heavily for development, I'd also lean towards putting it in |
|
@philippemnoel @ankitml Sounds like a plan. I had gone with the assumption of minimizing the additions to stick with the test suite. I'll take a look at this next week. |
Thanks so much Tim, enjoy your weekend! |
What
This structure creates a minimal Django website we can use as a demo and for testing new features.
Why
This pattern allows for quick testing with a browser during feature development.
How
Added a Django app. I'm sure there are ways we can improve the installation process in the README, but I started with raw SQL at the
psqlCLI. I kept the single view in theurls.pyfile, just for simplicity. We can iterate on this moving forward.Tests
Passes the suite.