In controller I have two functions

def func1():
   body of function
   return value1

def func2():
   body of function
   return value2

In EDIT APPLICATION "NAME" (administrative panel)
I  see default.py exposes func1,func2

In my browser I can access to both functions
http://127.0.0.1:8000/name/default/func1
http://127.0.0.1:8000/name/default/func2

in my browser I need to access only to func1 but not in func2
Is some other way to make functions, or is just like this and I need
to use this way for my functions

Visible functions should be index, contact, ...
but how to hide some functions for making some calculations from
direct access from browser.

Regards
Miroslav







Reply via email to