Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

models in Django

from django.db import models
 
# Create your models here.
class GeeksModel(models.Model):
    title = models.CharField(max_length = 200)
    description = models.TextField()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #models #Django
ADD COMMENT
Topic
Name
3+2 =