If you're curious about how to set up a modern JS frontend on top of Django, I wrote up a tutorial recently. It might be helpful if you're debating between trying a Single Page App approach or some other design: https://medium.com/@theSquashSH/reconciling-djangos-mvc-temp...
And if you're going down the React + Redux + REST framework path and need a boilerplate to start off on, I'd highly recommend Seedstars': https://github.com/Seedstars/django-react-redux-base
Learn web development: Django Web Framework
21–30 of 54 posts
Re: Learn web development: Django Web Framework
#22I had used Django back in version 1.3 and was just thinking today of how I need to brush up, as it has been a few years. The timing of this article couldn't have been better. Now I've got my weekend cut out :)
If you want to make a solid, stable web-app Django is a perfect backend.
Re: Learn web development: Django Web Framework
#23Earlier quoted context omitted.
Care to share why? My apologies if you have street cred in the field, but I don't know you, so have no reason to trust your recommendation. Please tell me what makes this particular project better than any alternatives.
No street card to offer --- just a developer passing on some knowledge. I've been using Django for the past two years and React + Redux for the past year. I've scoured around for boilerplates and that's the one that worked for me the best. YMMV
Re: Learn web development: Django Web Framework
#24If you're curious about how to set up a modern JS frontend on top of Django, I wrote up a tutorial recently. It might be helpful if you're debating between trying a Single Page App approach or some other design: https://medium.com/@theSquashSH/reconciling-djangos-mvc-temp...
Re: Learn web development: Django Web Framework
#25Re: Learn web development: Django Web Framework
#26Re: Learn web development: Django Web Framework
#27It has been years since I have used Django - do they still expect everything in the model to go in a single file or can you put each model in it's own file now?
Re: Learn web development: Django Web Framework
#28As someone who came to Django quite late, I cannot stress enough how coding in Django is refreshing. Yes it's not about microservices nor it bring all the trendy technologies that we all hear about.
And that's just fine, you get things done with it and at the end of the day this is what matters.
Re: Learn web development: Django Web Framework
#29Great to see Mozilla supporting Django. But isn't the official Django tutorial cover all of this, Why not just link to it?
Django's basic tutorial is great to get started, but once you get into the nitty gritty I find myself often going to stacks rather than the docs to get the information I need because the docs get kinda sparse. One example is if you want to forgo modelforms and pass the information from the forms to the model manually through your view (for example because you want to manipulate the information before passing it to th…
Re: Learn web development: Django Web Framework
#30If you're curious about how to set up a modern JS frontend on top of Django, I wrote up a tutorial recently. It might be helpful if you're debating between trying a Single Page App approach or some other design: https://medium.com/@theSquashSH/reconciling-djangos-mvc-temp...
The setup is not really straight forward, and generally I have problems mixing django static files in my .scss url() , so this is far from perfect. I'm using it with a main .ts file that requires various components based on the class of body tag, so I can use this in simple reload request use case. Also I've complicated things a little so my webpack bundles are collected as other static files and my static template tag also works.
But yeah, using react in typescript and sass in this way for the frontend has accelerated my development a lot.