Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
291:a6357f2bcbbc | 292:2367c4795c92 |
---|---|
1 """ | |
2 Misc data for the legacy management commands. | |
3 | |
4 """ | |
5 | |
6 # Over time various users asked me to change their username. The legacy site | |
7 # rarely stored foreign keys to users; instead it stored the name of the user | |
8 # at the time. This dictionary contains mappings from old usernames to new | |
9 # usernames. | |
10 | |
11 KNOWN_USERNAME_CHANGES = { | |
12 'cavefishbutchdelux': 'butchdelux', | |
13 'Findicator1': 'WaveOhhh', | |
14 'Tikimania': 'Tikitena', | |
15 'sandyfeet': 'RickRhoades', | |
16 } | |
17 |