Opened 9 years ago

Last modified 9 years ago

#25584 closed Bug

Getting Invalid syntax error while installing Django 1.9a1 and 1.9b1 — at Version 1

Reported by: Shashank Owned by: nobody
Component: Documentation Version: 1.9a1
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

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

Change History (1)

comment:1 by Tim Graham, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top