[Python-modules-team] Bug#807683: python-django: missing project_template files
Chris Lamb
lamby at debian.org
Fri Dec 11 18:22:42 UTC 2015
> You are right the files are in
> /usr/share/python-django-common/django/conf/project_template but
> django-admin startproject does not get them, it seems to be searching
> them in
> /usr/lib/python2.7/dist-packages/django/conf/project_template
I can't reproduce that unfortunately. This is in a clean sid chroot:
% sudo apt-get install -y python-django
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python-django-common
Suggested packages:
python-psycopg2 python-mysqldb python-flup python-sqlite python-memcache python-pil python-bcrypt python-yaml geoip-database-extra | geoip-database-contrib python-django-doc ipython bpython
libgdal1
Recommended packages:
libjs-jquery python-sqlparse python-tz
The following NEW packages will be installed:
python-django python-django-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2341 kB of archives.
After this operation, 25.0 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 python-django-common all 1.9-1 [1454 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 python-django all 1.9-1 [887 kB]
Fetched 2341 kB in 0s (5671 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package python-django-common.
(Reading database ... 20464 files and directories currently installed.)
Preparing to unpack .../python-django-common_1.9-1_all.deb ...
Unpacking python-django-common (1.9-1) ...
Selecting previously unselected package python-django.
Preparing to unpack .../python-django_1.9-1_all.deb ...
Unpacking python-django (1.9-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-django-common (1.9-1) ...
Setting up python-django (1.9-1) ...
% django-admin startproject foobar
% find
.
./foobar
./foobar/foobar
./foobar/foobar/__init__.py
./foobar/foobar/urls.py
./foobar/foobar/wsgi.py
./foobar/foobar/settings.py
./foobar/manage.py
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
More information about the Python-modules-team
mailing list