You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a weird error, i installed the package, setup the settings, run the migrate, in one of my models i created a field:
...
class Order(models.Model):
number = SequenceField(
key='order.sequence.1', template='%b%NNNN', auto=True)
When i ran the makemigrations i get the following error: SequenceFieldException: The key parameter is mandatory and is missing. Digging into that i put an pdb on the SequenceField __init__ function. The first time the pdb was called it is on my number field, but there is someone else instantiating this Field and in the next time i am getting that error.
I am using the django 1.8.4
The text was updated successfully, but these errors were encountered:
I am having a weird error, i installed the package, setup the settings, run the migrate, in one of my models i created a field:
When i ran the makemigrations i get the following error:
SequenceFieldException: The key parameter is mandatory and is missing
. Digging into that i put anpdb
on the SequenceField__init__
function. The first time the pdb was called it is on my number field, but there is someone else instantiating this Field and in the next time i am getting that error.I am using the django 1.8.4
The text was updated successfully, but these errors were encountered: