Browse Source

Rename classes name conforming convention

Fabs 11 years ago
parent
commit
33f7ce2f32
1 changed files with 3 additions and 3 deletions
  1. 3 3
      coin/billing/models.py

+ 3 - 3
coin/billing/models.py

@@ -3,7 +3,7 @@ from django.db import models
 # Create your models here.
 
     
-class Invoces_Detail(models.Model):
+class InvoceDetail(models.Model):
 
     label= models.CharField(max_length=100)
     amount = models.DecimalField( max_digits=5, decimal_places=2)
@@ -12,7 +12,7 @@ class Invoces_Detail(models.Model):
     def __unicode__(self):
         return self.label
 
-class Invoces(models.Model):
+class Invoce(models.Model):
 
     INVOICES_STATUS_CHOICES = (
         ('open', 'A payer'),
@@ -29,7 +29,7 @@ class Invoces(models.Model):
 
     
         
-class Payments(models.Model):
+class Payment(models.Model):
     payment_means =models.CharField(max_length=100, null=True)
     amount=  models.DecimalField( max_digits=7, decimal_places=2, null=True)
     date=models.DateField(auto_now_add=True)