Пример #1
0
def random_passport():
    C = base.getDBConnection()
    label = random_value_from_collection(C.curve_automorphisms.passports,
                                         'passport_label')
    return redirect(url_for(".by_passport_label", passport_label=label))
Пример #2
0
def random_curve():
    label = random_value_from_collection(g2c_db_curves(), 'label')
    return redirect(url_for_curve_label(label), 307)
Пример #3
0
def random_curve():
    label = random_value_from_collection(g2c_db_curves(), 'label')
    return redirect(url_for_curve_label(label), 307)
Пример #4
0
def random_curve():
    label = random_value_from_collection(g2cdb().curves, 'label')
    return redirect(url_for_curve_label(label), 301)
Пример #5
0
def random_belyi_galmap():
    label = random_value_from_collection(belyi_db_galmaps(), 'label')
    return redirect(url_for_belyi_galmap_label(label), 307)
Пример #6
0
def random_passport():
    C = base.getDBConnection()
    label = random_value_from_collection(C.curve_automorphisms.passports,'passport_label')
    return redirect(url_for(".by_passport_label", passport_label=label))
Пример #7
0
def random_hmf():  # Random Hilbert modular form
    return hilbert_modular_form_by_label(
        random_value_from_collection(db_search(), 'label'))
Пример #8
0
def random_hmf():    # Random Hilbert modular form
    return hilbert_modular_form_by_label( random_value_from_collection( db_forms(), 'label' ) )
Пример #9
0
def random_curve():
    label = random_value_from_collection(g2cdb().curves, 'label')
    return redirect(url_for_curve_label(label), 301)