Tech Stack and Tools
Content
Parts of App
Django MVT
MVT: Model Views Template
MVT is slightly different from MVC
How MVT pattern works:
USER
|
URLs
Views
/\
Models Templates
Example of MVT structure with the app:
url(r'^user/create_group/$',views.CreateGroup)
def CreateGroup(request): template_name = "create_group.html" form = GroupForm() ....
class GroupForm(ModelForm): class Meta: model = Group fields = ("name",)
class Group(models.Model): name=models.CharField(max_length=200) users = models.ManyToManyField(User)
Features of App:
Registration/ Login Process
Built-in model and form for the Registration Process.
Built-in model and view as well for the login and logout process.
The password is storing by using the PBKDF2 algorithm with a SHA256 hash.
Model: USER(built-in)
Models
Forms
How data is storing in the database!
or
How the App is working!
Live Demo!
Issues
Backend APIs
How is it working here!
A Simple Demo
Consuming APIs
Using Frontend framework React for consuming the APIs and show the data.
Demo!
Questions!
By sandeep chauhan