This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# Есть такой код. Сделайте что-нибудь с Item.get_options(). | |
from django.db import models | |
class Item(models.Model): | |
# ..... | |
def get_options(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Get all files stored in your Uploadcare project in CSV. | |
import pyuploadcare | |
import csv | |
from pyuploadcare import Uploadcare | |
uploadcare = Uploadcare(public_key='public', | |
secret_key='secret') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l10n.translations.en = { | |
logout: 'Log out', | |
error: { | |
a: 'Something went wrong. Please', | |
b: 'reload', | |
c: 'Here some technical details:' | |
}, | |
sourceName: { | |
gdrive: 'Google Drive', | |
dropbox: 'Dropbox', |
OlderNewer