#26143: SyntaxError for import statement {{ unicode_literals }}from django.apps
import AppConfig
-------------------------------+--------------------
     Reporter:  heseba         |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  1.9
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 There are some strange error messages when running setup.py which seem to
 be syntax errors in the files below. The application is successfully
 running, however.

 {{{
 *** Error compiling '/tmp/pip-build-
 5hj2p7vr/django/django/conf/app_template/apps.py'...
   File "/tmp/pip-build-5hj2p7vr/django/django/conf/app_template/apps.py",
 line 1
     {{ unicode_literals }}from django.apps import AppConfig
                              ^
 SyntaxError: invalid syntax

 *** Error compiling '/tmp/pip-build-
 5hj2p7vr/django/django/conf/app_template/models.py'...
   File "/tmp/pip-build-
 5hj2p7vr/django/django/conf/app_template/models.py", line 1
     {{ unicode_literals }}from django.db import models
                              ^
 SyntaxError: invalid syntax


 ...

 Successfully installed myflights django django-bootstrap3 django-
 bootstrap3-datetimepicker
 Cleaning up...

 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26143>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.c6cfc8b353e39616ea8091561113dd39%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to