About populate countries

181 views
Skip to first unread message

Michel Sardon

unread,
Feb 19, 2015, 11:48:01 AM2/19/15
to django...@googlegroups.com
The getting started documentation mention this action :

python manage.py oscar_populate_countries


I try this with this config:
Babel==1.3
Django==1.7.4
Pillow==2.4.0
Unidecode==0.04.17
django
-appconf==1.0.1
django
-compressor==1.4
django
-extra-views==0.6.4
django
-haystack==2.3.1
django
-oscar==1.0.1
django
-tables2==0.15.0
django
-treebeard==2.0
factory
-boy==2.4.1
mock
==1.0.1
phonenumbers
==6.3.0
purl
==1.0.3
pycountry
==1.10
pytz
==2014.10
six
==1.9.0
sorl
-thumbnail==11.12.1b

And I have this issue:
Unknown command: 'oscar_populate_countries'





Jorge Andrés Vergara Ebratt

unread,
Feb 19, 2015, 1:15:08 PM2/19/15
to django...@googlegroups.com
Make sure your virtualenv is activated and type "python manage.py --help" to see if the oscar commands are there

--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/670425cf-a26d-43b4-a541-9e2a6e188bc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michel Sardon

unread,
Feb 20, 2015, 11:16:08 AM2/20/15
to django...@googlegroups.com
Available subcommands:

[auth]
    changepassword
    createsuperuser

[compressor]
    compress
    mtime_cache

[django]
    check
    compilemessages
    createcachetable
    dbshell
    diffsettings
    dumpdata
    flush
    inspectdb
    loaddata
    makemessages
    makemigrations
    migrate
    runfcgi
    shell
    sql
    sqlall
    sqlclear
    sqlcustom
    sqldropindexes
    sqlflush
    sqlindexes
    sqlinitialdata
    sqlmigrate
    sqlsequencereset
    squashmigrations
    startapp
    startproject
    syncdb
    test
    testserver
    validate

[sessions]
    clearsessions

[staticfiles]
    collectstatic
    findstatic
    runserver


Jorge Andrés Vergara Ebratt

unread,
Feb 20, 2015, 12:28:09 PM2/20/15
to django...@googlegroups.com
Oscar commands are not listed, are you sure you installed django-oscar and launched the django project with that instalation?

--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.

Michel Sardon

unread,
Feb 21, 2015, 4:56:00 AM2/21/15
to django...@googlegroups.com
Sure, I can't be, I just have tried to follow the documentation..

So I dead this in my virtualenv :
django-admin.py startproject myshop


Reply all
Reply to author
Forward
0 new messages