On Sat, 2014-01-18 at 20:24 +1100, Ankur Sinha wrote:
I'm off to test the mass tag change commands which we desperately
need
to remove all the useless #stuff.
http://askbot.org/doc/management-commands.html
I just tested the rename tagging stuff and it seems to work fine:
[
askbot-ankursinha.rhcloud.com askbot_devel]\> python manage.py
rename_tags --from "#dirtyhashtag #anotherdirtyhashtag" --to ""
--user-id 2
/var/lib/openshift/52da16dd5973ca17c70000ee/python/virtenv/lib/python2.6/site-packages/Django-1.5-py2.6.egg/django/utils/hashcompat.py:9:
DeprecationWarning: django.utils.hashcompat is deprecated; use hashlib instead
DeprecationWarning)
/var/lib/openshift/52da16dd5973ca17c70000ee/python/virtenv/lib/python2.6/site-packages/Django-1.5-py2.6.egg/django/core/management/__init__.py:465:
DeprecationWarning: The 'execute_manager' function is deprecated, you likely need
to update your 'manage.py'; please see the Django 1.4 release notes
(
https://docs.djangoproject.com/en/dev/releases/1.4/).
DeprecationWarning)
/var/lib/openshift/52da16dd5973ca17c70000ee/python/virtenv/lib/python2.6/site-packages/Django-1.5-py2.6.egg/django/core/management/__init__.py:409:
DeprecationWarning: The 'setup_environ' function is deprecated, you likely need to
update your 'manage.py'; please see the Django 1.4 release notes
(
https://docs.djangoproject.com/en/dev/releases/1.4/).
DeprecationWarning)
/var/lib/openshift/52da16dd5973ca17c70000ee/python/virtenv/lib/python2.6/site-packages/Django-1.5-py2.6.egg/django/conf/urls/defaults.py:3:
DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
DeprecationWarning)
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.
With local memory caching and multi-process setup you might intermittently
see outdated content on your site.
One question matches:
* Μπορώ να γράψω στα ελληνικά;
Rename tags #dirtyhashtag, #anotherdirtyhashtag --> ? (type yes/no)
> yes
/var/lib/openshift/52da16dd5973ca17c70000ee/python/virtenv/lib/python2.6/site-packages/Coffin-0.3.8-py2.6.egg/coffin/common.py:73:
UserWarning: Cannot translate loader: askbot.skins.loaders.Loader
warnings.warn('Cannot translate loader: %s' % loader)
ImproperlyConfigured: skin "default-en-us" not found, check value of
"ASKBOT_EXTRA_SKINS_DIR"
I didn't need to stop the application or anything. The two tags just
missed out.
--
Thanks,
Warm regards,
Ankur (FranciscoD)
http://fedoraproject.org/wiki/User:Ankursinha
Join Fedora! Come talk to us!
http://fedoraproject.org/wiki/Fedora_Join_SIG