Answers for "how to use database django that is used in java"

SQL
8

create models in django

from django.db import models
# Create your models here.

class Contact(models.Model):
    name = models.CharField(max_length=50)
    email = models.CharField(max_length=50)
    contact = models.CharField(max_length=50)
    content = models.TextField()
    def __str__(self):
        return self.name + ' ' + self.email
Posted by: Guest on November-06-2020
0

database setup in django

sudo apt install python3-dev libmysqlclient-dev default-libmysqlclient-dev
Posted by: Guest on November-15-2020

Code answers related to "how to use database django that is used in java"

Code answers related to "SQL"

Browse Popular Code Answers by Language