[opensuse-cloud] Django in Factory
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am wondering about current Factory Django behaviour python /usr/lib/python2.7/site-packages/django/bin/django-admin.py help does not show collectstatic even though there is /usr/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py and https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#django-admin-... suggests it to be usable. We need this for the openstack-dashboard package which otherwise fails for Factory. Ciao Bernhard M. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFxGHgACgkQSTYLOx37oWRi7QCg2AAnVC28sgLsAR3zzX52nDEn DoMAn2ek0g9waxtBZHGjwSAzk3dHmBEG =G9WY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi there! Thanks for reporting... I'm checking It. On Fri, Apr 19, 2013 at 7:12 AM, Bernhard M. Wiedemann <bernhardout@lsmod.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I am wondering about current Factory Django behaviour
python /usr/lib/python2.7/site-packages/django/bin/django-admin.py help
does not show collectstatic even though there is
/usr/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py
and https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#django-admin-...
suggests it to be usable.
We need this for the openstack-dashboard package which otherwise fails for Factory.
Ciao Bernhard M. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlFxGHgACgkQSTYLOx37oWRi7QCg2AAnVC28sgLsAR3zzX52nDEn DoMAn2ek0g9waxtBZHGjwSAzk3dHmBEG =G9WY -----END PGP SIGNATURE-----
-- [ ]'s Aledr - Alexandre Gerente de T.I. - Equipe Exata T.I. 44 3029-6416 44 9116-3154 (Claro) 44 9986-5055 (TIM) www.exatati.com.br -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Seems that documentation is wrong. collectstatic is a management command, so It need to run with manage.py. E.g.: alexandre@aledr:~/Repositories/my_project> ./manage.py help ... [ a lot of messages here ] ... Available subcommands: [auth] changepassword createsuperuser [django] . . . [staticfiles] collectstatic findstatic runserver On Fri, Apr 19, 2013 at 3:07 PM, Alexandre D. Rogoski <alexandre@exatati.com.br> wrote:
Hi there!
Thanks for reporting... I'm checking It.
On Fri, Apr 19, 2013 at 7:12 AM, Bernhard M. Wiedemann <bernhardout@lsmod.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I am wondering about current Factory Django behaviour
python /usr/lib/python2.7/site-packages/django/bin/django-admin.py help
does not show collectstatic even though there is
/usr/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py
and https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#django-admin-...
suggests it to be usable.
We need this for the openstack-dashboard package which otherwise fails for Factory.
Ciao Bernhard M. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlFxGHgACgkQSTYLOx37oWRi7QCg2AAnVC28sgLsAR3zzX52nDEn DoMAn2ek0g9waxtBZHGjwSAzk3dHmBEG =G9WY -----END PGP SIGNATURE-----
-- [ ]'s Aledr - Alexandre Gerente de T.I. - Equipe Exata T.I. 44 3029-6416 44 9116-3154 (Claro) 44 9986-5055 (TIM) www.exatati.com.br
-- [ ]'s Aledr - Alexandre Gerente de T.I. - Equipe Exata T.I. 44 3029-6416 44 9116-3154 (Claro) 44 9986-5055 (TIM) www.exatati.com.br -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
2013/4/19 Alexandre D. Rogoski <alexandre@exatati.com.br>: Hi Alexandre, thanks for looking into it.
alexandre@aledr:~/Repositories/my_project> ./manage.py help [staticfiles] collectstatic findstatic runserver
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=openstack-dashboard&project=Cloud%3AOpenStack%3AFactory&repository=openSUSE_Factory I think the problem is that we're somehow not loading the staticfiles plugin. Last time Sascha looked into it and determined that something is not compatible with Django 1.5 here. Thats why we switched back to Django 1.4, which worked fine as long as Django 1.5 didn't land into Factory. I guess we need to figure out how to make it work with Django 1.5 now. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
2013/4/21 Dirk Müller <dirk@dmllr.de>:
I guess we need to figure out how to make it work with Django 1.5 now.
One problem is that nodejs is broken in Factory, fix submitted. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi Dirk, how have you been? Is everything right now? Thanks. On Sun, Apr 21, 2013 at 5:24 PM, Dirk Müller <dirk@dmllr.de> wrote:
2013/4/21 Dirk Müller <dirk@dmllr.de>:
I guess we need to figure out how to make it work with Django 1.5 now.
One problem is that nodejs is broken in Factory, fix submitted.
Greetings, Dirk
-- [ ]'s Aledr - Alexandre Gerente de T.I. - Equipe Exata T.I. 44 3029-6416 44 9116-3154 (Claro) 44 9986-5055 (TIM) www.exatati.com.br -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi Alexandre, thanks for checking. unfortunately things do not work out yet: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=openstack-dashboard&project=Cloud%3AOpenStack%3AMaster&repository=openSUSE_Factory It might be that we have a weird mix of django packages in the project (we downgraded to 1.4.x versions). I guess it makes sense to have a deeper look at this now from our side first. Thanks, Dirk -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
participants (3)
-
Alexandre D. Rogoski
-
Bernhard M. Wiedemann
-
Dirk Müller