SyntaxError: keyword argument repeated

2018-11-07 Thread Dennis Alabi
roject\customers\models.py", line 85 on_delete=models.CASCADE,related_name="'zone's", null=True, related_name='children' ^ SyntaxError: keyword argument repeated I get the above error and the potion of my code causing it in models.p

RE: SyntaxError: keyword argument repeated

2018-11-07 Thread Matthew Pava
, 2018 8:51 AM To: Django users Subject: SyntaxError: keyword argument repeated django.setup() File "C:\Users\User\Anaconda3\envs\myprogv\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "C:\Users\User\Anaconda3\envs\m

Re: SyntaxError: keyword argument repeated

2018-11-08 Thread Vishvajit Pathak
to_code > File "", line 219, in > _call_with_frames_removed > File > "C:\Users\User\Documents\cctv_project\openCV\cam_project\customers\models.py", > > line 85 > on_delete=models.CASCADE,related_name="'zone's"

Re: SyntaxError: keyword argument repeated

2018-11-08 Thread Ryan Gedwill
File "", line 781, in get_code >> File "", line 741, in source_to_code >> File "", line 219, in >> _call_with_frames_removed >> File >> "C:\Users\User\Documents\cctv_project\openCV\cam_project\customers\models.py", >> line 85 >> on_delete=models.CASCADE,related_name="&#x