break things with unicode
This commit is contained in:
Родитель
4686b8374d
Коммит
bb7345250a
|
@ -286,7 +286,7 @@
|
|||
"password": "",
|
||||
"nickname": "55021",
|
||||
"username": "55021",
|
||||
"display_name": "55021",
|
||||
"display_name": "55021 \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:56",
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
"password": "",
|
||||
"nickname": "8735",
|
||||
"username": "8735",
|
||||
"display_name": "8735",
|
||||
"display_name": "8735 \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:37",
|
||||
|
|
|
@ -175,7 +175,7 @@
|
|||
"password": "",
|
||||
"nickname": "41",
|
||||
"username": "41",
|
||||
"display_name": "41",
|
||||
"display_name": "41 \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:33",
|
||||
|
|
|
@ -230,7 +230,7 @@
|
|||
"password": "",
|
||||
"nickname": "clouserw",
|
||||
"username": "clouserw",
|
||||
"display_name": "clouserw",
|
||||
"display_name": "clouserw \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:38",
|
||||
|
|
|
@ -272,7 +272,7 @@
|
|||
"password": "",
|
||||
"nickname": "cfinke",
|
||||
"username": "cfinke",
|
||||
"display_name": "cfinke",
|
||||
"display_name": "cfinke \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"notes": null,
|
||||
|
|
|
@ -267,7 +267,7 @@
|
|||
"password": "",
|
||||
"nickname": "60582",
|
||||
"username": "60582",
|
||||
"display_name": "60582",
|
||||
"display_name": "60582 \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"notes": null,
|
||||
|
|
|
@ -239,7 +239,7 @@
|
|||
"password": "",
|
||||
"nickname": "55021",
|
||||
"username": "55021",
|
||||
"display_name": "55021",
|
||||
"display_name": "55021 \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:56",
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
"password": "",
|
||||
"nickname": "9873",
|
||||
"username": "9873",
|
||||
"display_name": "9873",
|
||||
"display_name": "9873 \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:37",
|
||||
|
|
|
@ -269,7 +269,7 @@
|
|||
"password": "",
|
||||
"nickname": "802",
|
||||
"username": "802",
|
||||
"display_name": "802",
|
||||
"display_name": "802 \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:33",
|
||||
|
|
|
@ -187,7 +187,7 @@
|
|||
"password": "",
|
||||
"nickname": "softcup",
|
||||
"username": "softcup",
|
||||
"display_name": "softcup",
|
||||
"display_name": "softcup \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:37",
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
"password": "",
|
||||
"nickname": "Aronnax",
|
||||
"username": "Aronnax",
|
||||
"display_name": "Aronnax",
|
||||
"display_name": "Aronnax \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:33",
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
"password": "yermom",
|
||||
"nickname": "Wink-RU",
|
||||
"username": "Wink-RU",
|
||||
"display_name": "Wink-RU",
|
||||
"display_name": "Wink-RU \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode": "",
|
||||
"created": "2008-08-29 06:53:46",
|
||||
"modified": "2009-09-26 21:25:10",
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
"password": "",
|
||||
"nickname": "cfinke",
|
||||
"username": "cfinke",
|
||||
"display_name": "cfinke",
|
||||
"display_name": "cfinke \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:34",
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
"password": "",
|
||||
"nickname": "jbalogh",
|
||||
"username": "jbalogh",
|
||||
"display_name": "jbalogh",
|
||||
"display_name": "jbalogh \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": null,
|
||||
"resetcode": "",
|
||||
"created": "2009-02-02 11:50:31",
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"password": "sha512$7b5436061f8c0902088c292c057be69fdb17312e2f71607c9c51641f5d876522$08d1d370d89e2ae92755fd03464a7276ca607c431d04a52d659f7a184f3f9918073637d82fc88981c7099c7c46a1137b9fdeb675304eb98801038905a9ee0600",
|
||||
"nickname": "regularuser",
|
||||
"username": "regularuser",
|
||||
"display_name": "regularuser",
|
||||
"display_name": "regularuser \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": "2010-01-12 15:28:07",
|
||||
"resetcode": "",
|
||||
"created": "2009-02-02 11:50:31",
|
||||
|
@ -73,7 +73,7 @@
|
|||
"password": "sha512$7b5436061f8c0902088c292c057be69fdb17312e2f71607c9c51641f5d876522$08d1d370d89e2ae92755fd03464a7276ca607c431d04a52d659f7a184f3f9918073637d82fc88981c7099c7c46a1137b9fdeb675304eb98801038905a9ee0600",
|
||||
"nickname": "clouserw",
|
||||
"username": "clouserw",
|
||||
"display_name": "clouserw",
|
||||
"display_name": "clouserw \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": "2010-01-01 00:00:00",
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:38",
|
||||
|
@ -122,7 +122,7 @@
|
|||
"password": "sha512$7b5436061f8c0902088c292c057be69fdb17312e2f71607c9c51641f5d876522$08d1d370d89e2ae92755fd03464a7276ca607c431d04a52d659f7a184f3f9918073637d82fc88981c7099c7c46a1137b9fdeb675304eb98801038905a9ee0600",
|
||||
"nickname": "admin",
|
||||
"username": "admin",
|
||||
"display_name": "admin",
|
||||
"display_name": "admin \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": "2010-01-12 15:28:07",
|
||||
"resetcode": "",
|
||||
"created": "2009-02-02 11:50:31",
|
||||
|
|
|
@ -293,7 +293,7 @@ def change_addon(request, collection, action):
|
|||
return http.HttpResponseBadRequest()
|
||||
|
||||
getattr(collection, action + '_addon')(addon)
|
||||
log.info('%s: %s %s to collection %s' %
|
||||
log.info(u'%s: %s %s to collection %s' %
|
||||
(request.amo_user, action, addon.id, collection.id))
|
||||
|
||||
if request.is_ajax():
|
||||
|
@ -327,7 +327,7 @@ def edit(request, collection, username, slug):
|
|||
instance=collection)
|
||||
if form.is_valid():
|
||||
collection = form.save()
|
||||
log.info('%s edited collection %s' %
|
||||
log.info(u'%s edited collection %s' %
|
||||
(request.amo_user, collection.id))
|
||||
return http.HttpResponseRedirect(collection.edit_url())
|
||||
else:
|
||||
|
@ -369,7 +369,7 @@ def edit_addons(request, collection, username, slug):
|
|||
form = forms.AddonsForm(request.POST)
|
||||
if form.is_valid():
|
||||
form.save(collection)
|
||||
log.info('%s added add-ons to %s' %
|
||||
log.info(u'%s added add-ons to %s' %
|
||||
(request.amo_user, collection.id))
|
||||
|
||||
return http.HttpResponseRedirect(collection.edit_url() + '#addons-edit')
|
||||
|
@ -403,7 +403,7 @@ def edit_contributors(request, collection, username, slug):
|
|||
def edit_privacy(request, collection, username, slug):
|
||||
collection.listed = not collection.listed
|
||||
collection.save()
|
||||
log.info('%s changed privacy on collection %s' %
|
||||
log.info(u'%s changed privacy on collection %s' %
|
||||
(request.amo_user, collection.id))
|
||||
return redirect(collection.get_url_path())
|
||||
|
||||
|
@ -414,7 +414,7 @@ def delete(request, username, slug):
|
|||
slug=slug)
|
||||
|
||||
if not acl.check_collection_ownership(request, collection, True):
|
||||
log.info('%s is trying to delete collection %s'
|
||||
log.info(u'%s is trying to delete collection %s'
|
||||
% (request.amo_user, collection.id))
|
||||
return http.HttpResponseForbidden(
|
||||
_('This is not the collection you are looking for.'))
|
||||
|
@ -424,7 +424,7 @@ def delete(request, username, slug):
|
|||
if request.method == 'POST':
|
||||
if request.POST['sure'] == '1':
|
||||
collection.delete()
|
||||
log.info('%s deleted collection %s' %
|
||||
log.info(u'%s deleted collection %s' %
|
||||
(request.amo_user, collection.id))
|
||||
url = reverse('collections.user', args=[username])
|
||||
return http.HttpResponseRedirect(url)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"fields": {
|
||||
"nickname": "fligtard",
|
||||
"username": "fligtard",
|
||||
"display_name": "Scott",
|
||||
"display_name": "Scott \u0627\u0644\u062a\u0637\u0628",
|
||||
"firstname": "Scott",
|
||||
"lastname": "Bakula",
|
||||
"emailhidden": 1,
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
"password": "sha512$32e15df727a054aa56cf69accc142d1573372641a176aab9b0f1458e27dc6f3b$5bd3bd7811569776a07fbbb5e50156aa6ebdd0bec9267249b57da065340f0324190f1ad0d5f609dca19179a86c64807e22f789d118e6f7109c95b9c64ae8f619",
|
||||
"nickname": "jbalogh",
|
||||
"username": "jbalogh",
|
||||
"display_name": "Jeff Balogh",
|
||||
"display_name": "Jeff Balogh \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": "2010-01-12 15:28:07",
|
||||
"resetcode": "",
|
||||
"created": "2009-02-02 11:50:31",
|
||||
|
@ -92,7 +92,7 @@
|
|||
"password": "sha512$32e15df727a054aa56cf69accc142d1573372641a176aab9b0f1458e27dc6f3b$5bd3bd7811569776a07fbbb5e50156aa6ebdd0bec9267249b57da065340f0324190f1ad0d5f609dca19179a86c64807e22f789d118e6f7109c95b9c64ae8f619",
|
||||
"nickname": "fligtar",
|
||||
"username": "fligtar",
|
||||
"display_name": "Justin Scott",
|
||||
"display_name": "Justin Scott \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": "2010-01-12 15:28:07",
|
||||
"resetcode": "",
|
||||
"created": "2007-03-05 13:09:37",
|
||||
|
@ -143,7 +143,7 @@
|
|||
"password": "sha512$9ec347fc67fc17c99a9dd43d1431a5959011acf247fb2128228c9a04208d1991$edcc677c7045ee2a379286e2ad6d99bd58af6b4a2117e1e4c2743923a9a297ce56d5311fe51baa4584c5483af0eaedc57700fbb4b719c0a84597c1609536ca4d",
|
||||
"nickname": "barry",
|
||||
"username": "barry",
|
||||
"display_name": "barry",
|
||||
"display_name": "barry \u0627\u0644\u062a\u0637\u0628",
|
||||
"resetcode_expires": "2010-07-23 00:37:10",
|
||||
"resetcode": "",
|
||||
"created": "2010-07-03 23:03:11",
|
||||
|
|
Загрузка…
Ссылка в новой задаче