Django backend for WorkX project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

12 rivejä
256 B

  1. from django.db import models
  2. from client.models import Client
  3. class Project(models.Model):
  4. name = models.CharField(max_length=30)
  5. price = models.FloatField()
  6. client = models.ForeignKey(Client)
  7. def __str__(self):
  8. return self.name