django-crm
django-crm copied to clipboard
Fix for Account model
An additional argument "Name" was passed as second parameter while creating the name field in Account model in "accounts" app. So that the column name in both migration and database has become "Name" instead of "name". But the "str" function referenced the name attribute while converting an object to string in django admin panel. That's how it causes an error.

Now I have removed the additional argument from Account model. Also created and applied the migration to the default sqlite database file. Thus the error has been resolved. I would highly appreciate if you could have a look at the changes I made and consider for merging it to your master branch.
Ok thanks! I will test this and merge it
Only removing the second argument solves the problem for me.
name = models.CharField("Name of Account", max_length=64)