ok i understood
thanks for help
On Sunday, April 7, 2019 at 11:58:50 AM UTC+2, Roger Gammans wrote:
>
> Omar,
>
> When posting question to the list it's good practice to practice tell us a
> little bit about what your trying to do, and how what
> actions cause the error to occur.
>
> In this
Omar,
When posting question to the list it's good practice to practice tell
us a little bit about what your trying to do, and how what
actions cause the error to occur.
In this case though you only have a (single line in CalcPoints) which
uses the '*' operator.
On Sat, 2019-04-06 at 10:35
models.py
class Club(models.Model):
league_names = models.ForeignKey(League, on_delete= models.CASCADE,
related_name='club')
name = models.CharField(max_length=100)
logo = models.ImageField(upload_to='media/core', max_length=255, null=True,
blank=True)
won = models.IntegerField()
draw =
xt_Num)
>>>>> return slug_with_number
>>>>>
>>>>>
>>>>>
>>>>> Traceback:
>>>>>
>>>>> File "", line 2, in
>>>>> File
>>>>> "/Users/leehinde/D
Users/leehinde/Documents/Clients/RecEnrollTNV/RecEnroll/recenrolltnv/../recenrolltnv/recenroll/models.py",
>>>> line 314, in save
>>>> self.Slug = buildSlug(start)
>>>> File
>>>> "/Users/leehinde/Documents/Clients/Rec
> File
>>> "/Users/leehinde/Documents/Clients/RecEnrollTNV/RecEnroll/recenrolltnv/../recenrolltnv/recenroll/models.py",
>>> line 20, in buildSlug
>>> next_Num = get_SequenceNumber(slug)
>>> File "/Library/Python/2.5/site-packages/django/db/tran
> File
>> "/Users/leehinde/Documents/Clients/RecEnrollTNV/RecEnroll/recenrolltnv/../recenrolltnv/recenroll/models.py",
>> line 20, in buildSlug
>> next_Num = get_SequenceNumber(slug)
>> File "/Library/Python/2.5/site-packages/
ages/django/db/transaction.py",
> line 223, in _autocommit
> return func(*args, **kw)
> File
> "/Users/leehinde/Documents/Clients/RecEnrollTNV/RecEnroll/recenrolltnv/../recenrolltnv/recenroll/models.py",
> line 14, in get_SequenceNumber
> sn.Next_Sequence_Number
n/2.5/site-packages/django/db/transaction.py",
line 223, in _autocommit
return func(*args, **kw)
File
"/Users/leehinde/Documents/Clients/RecEnrollTNV/RecEnroll/recenrolltnv/../recenrolltnv/recenroll/models.py",
line 14, in get_SequenceNumber
sn.Next_Sequence_Number
9 matches
Mail list logo