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 templates which display the data. Sincerely yours, Joel G Mathew On Thu, 16 May 2019 at 22:02, DumbaClassics <dumbaclass...@gmail.com> wrote: > 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 views.py or models or in models I just put a class related to > creating my database? > 2. say I want a player to have a ticket which is a receipt that can be > picked randomly from those who have signed up for a draw. how exaclty do i > have my clients get randomly generated receipts numbers using the > random.randint module > 3. Is there a possibility to generate a coin that is a local currency > which enables players to buy them and then use the tokens for buying > tickets into the game? If so how do i go about it in django python > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/6658851f-f32c-42d4-bb04-7e00c0715a97%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/6658851f-f32c-42d4-bb04-7e00c0715a97%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA%3Diw_8P8wApcV57A5mkQNt0DADfdRMa-90vj%3DeYCwA2bjXXng%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.