On Sunday, November 20, 2011 4:47:16 AM UTC-5, EdgarAllenPoe wrote:
>
> About the error thing.  Just to be clear where I am working from.  I
> am using the online editor at:
> http://127.0.0.1:8000/admin/default/edit/XxxxxxXxxx/models/db_wizard.py
>
> And for a test I just removed one of the commas at the end of a line
> and tried to save the file, which produced this error in an orange pop
> up message:
>
> failed to compile file because:
> SyntaxError at line 50 at char 8
> invalid syntax (C:/web2py/applications/XxxxxxXxxx/models/db_wizard.py,
> line 50)
>
Oh yeah, if you're using the 'admin' app to edit, I guess it does actually 
check the code for errors before saving (I think only the .py files, 
though).

Anthony

 

Reply via email to