Re: Anyone kind enough to help me understand these few concepts

2019-05-16 Thread Joel Mathew
I would suggest you go through the official tutorial. Your questions don't have relation to django. It seems you're still at the concept/algorithm level of your app. In django, you put all your logic in your views, retrieve data from models into views, and then pass the data from views to template

Re: Anyone kind enough to help me understand these few concepts

2019-05-16 Thread Test Bot
Hi In models you have to define your database tables as class and any response to the user should be handled in views.py You can introduce randomness via random module or for any customisation you can write it as a different app altogether. You can create your coin as a separate model and attach

Anyone kind enough to help me understand these few concepts

2019-05-16 Thread DumbaClassics
I am still new on Django Web Framework and I want to understand the MVC concept based on this Project structure. Say I am trying to come up with an Online Gambling platform. Where exaclty do put the following; 1. say I want the player to randomly shuffle cards, is this whole business called on