Exemplo n.º 1
0
def newClassification(request):
    if isinstance(request.user, AnonymousUser):
        request.user = User.objects.get(username="******")
    return handlePopAdd(request, ClassificationForm, 'classifications')


#234567891123456789212345678931234567894123456789512345678961234567897123456789
Exemplo n.º 2
0
def newEntry(request):
    return handlePopAdd(request, EntryForm, 'entry')
Exemplo n.º 3
0
def newReference(request):
    if isinstance(request.user, AnonymousUser):
        request.user = User.objects.get(username="******")
    return handlePopAdd(request, ReferenceForm, 'reference')
Exemplo n.º 4
0
def newIntervention(request):
    return handlePopAdd(request, InterventionForm, 'intervention')
Exemplo n.º 5
0
def newProfile(request):
    return handlePopAdd(request, ProfileForm, 'contacts')
Exemplo n.º 6
0
def newAnimal(request):
    if isinstance(request.user, AnonymousUser):
        request.user = User.objects.get(username="******")
    return handlePopAdd(request, AnimalForm, 'alternative_names')
Exemplo n.º 7
0
def newAnimal(request):
    return handlePopAdd(request, AnimalForm, 'alternative_names')


#234567891123456789212345678931234567894123456789512345678961234567897123456789
Exemplo n.º 8
0
def newCategory(request):
    return handlePopAdd(request, CategoryForm, 'category')
Exemplo n.º 9
0
def newCountry(request):
    return handlePopAdd(request, CountryForm, 'countries')
Exemplo n.º 10
0
def newEntry(request):
    return handlePopAdd(request, EntryForm, 'entry')
Exemplo n.º 11
0
def newCategory(request):
    return handlePopAdd(request, CategoryForm, 'category')
Exemplo n.º 12
0
def newLink(request):
    return handlePopAdd(request, LinkForm, 'link')
Exemplo n.º 13
0
def newIntervention(request):
    return handlePopAdd(request, InterventionForm, 'intervention')
Exemplo n.º 14
0
def newProfile(request):
    return handlePopAdd(request, ProfileForm, 'contacts')
Exemplo n.º 15
0
def newAnimal(request):
    if isinstance(request.user, AnonymousUser):
        request.user = User.objects.get(username="******")
    return handlePopAdd(request, AnimalForm, 'alternative_names')
Exemplo n.º 16
0
def newLink(request):
    return handlePopAdd(request, LinkForm, 'link')
Exemplo n.º 17
0
def newClassification(request):
    if isinstance(request.user, AnonymousUser):
        request.user = User.objects.get(username="******")
    return handlePopAdd(request, ClassificationForm, 'classifications')
Exemplo n.º 18
0
def newCountry(request):
    return handlePopAdd(request, CountryForm, 'countries')
Exemplo n.º 19
0
def newAnimal(request):
    return handlePopAdd(request, AnimalForm, 'alternative_names')

#234567891123456789212345678931234567894123456789512345678961234567897123456789