diff gpp/legacy/data.py @ 292:2367c4795c92

Added a legacy management command to import old news comments.
author Brian Neal <bgneal@gmail.com>
date Fri, 24 Dec 2010 22:20:30 +0000
parents
children 4021ea1045f7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/legacy/data.py	Fri Dec 24 22:20:30 2010 +0000
@@ -0,0 +1,17 @@
+"""
+Misc data for the legacy management commands.
+
+"""
+
+# Over time various users asked me to change their username. The legacy site
+# rarely stored foreign keys to users; instead it stored the name of the user
+# at the time. This dictionary contains mappings from old usernames to new
+# usernames.
+
+KNOWN_USERNAME_CHANGES = {
+    'cavefishbutchdelux': 'butchdelux',
+    'Findicator1': 'WaveOhhh',
+    'Tikimania': 'Tikitena',
+    'sandyfeet': 'RickRhoades',
+}
+