#25584: Getting Invalid syntax error while installing Django 1.9a1 and 1.9b1
-------------------------------+--------------------------------------
     Reporter:  BlackHacker    |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Uncategorized  |                  Version:  1.9a1
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by timgraham):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Old description:

> When I am trying to install django 1.9a1 or 1.9b1 using pip on python
> version 2.7.6. I am getting syntax error though installation is not
> getting effected because of this.
>
> Compiling /tmp/pip_build_root/django/django/conf/app_template/apps.py ...
>   File "/tmp/pip_build_root/django/django/conf/app_template/apps.py",
> line 4
>     class {{ camel_case_app_name }}Config(AppConfig):
>           ^
> SyntaxError: invalid syntax
>
> and
>
> Compiling /tmp/pip_build_root/django/django/conf/app_template/models.py
> ...
>   File "/tmp/pip_build_root/django/django/conf/app_template/models.py",
> line 1
>     {{ unicode_literals }}from django.db import models
>                              ^
> SyntaxError: invalid syntax

New description:

 When I am trying to install django 1.9a1 or 1.9b1 using pip on python
 version 2.7.6. I am getting syntax error though installation is not
 getting effected because of this.
 {{{
 Compiling /tmp/pip_build_root/django/django/conf/app_template/apps.py ...
   File "/tmp/pip_build_root/django/django/conf/app_template/apps.py", line
 4
     class {{ camel_case_app_name }}Config(AppConfig):
           ^
 SyntaxError: invalid syntax

 and

 Compiling /tmp/pip_build_root/django/django/conf/app_template/models.py
 ...
   File "/tmp/pip_build_root/django/django/conf/app_template/models.py",
 line 1
     {{ unicode_literals }}from django.db import models
                              ^
 SyntaxError: invalid syntax
 }}}

--

--
Ticket URL: <https://code.djangoproject.com/ticket/25584#comment:1>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.34b0a0284e4d134844cdeabadb7669a6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to