mirror of
https://git.kotyczka.ch/developers/django.git
synced 2025-04-07 00:03:32 +02:00
7 lines
261 B
Python
7 lines
261 B
Python
from django.db import models
|
|
|
|
# Create your models here.
|
|
class Product(models.Model):
|
|
title = models.CharField(max_length=120)
|
|
content= models.TextField(blank=True, null=True)
|
|
price = models.DecimalField(max_digits=15,decimal_places=2,default=99.99) |