I repeat you again

OK, start with writing a view

https://docs.djangoproject.com/en/1.9/intro/tutorial03/

Show something funny in your HTML and when you be able to see in your
browser let me know.

How to do that, see the tutorial, basically this are the steps

create a django app   (python manager.py startapp mathapp)
set mathapp in INSTALLED_APPS in settings.py
Setup urls.py to link the view
create a view in views.py
create a template for example mytemplate.html in a folder called
"templates" inside mathapp

See my others email I send you example code that could help.

Don't think in your math function right now later I will help you to
connect django view with python math function.

When you have  a view share your code here.



2016-02-10 16:12 GMT-06:00 Xristos Xristoou <saxr...@gmail.com>:

>
> THNX for response to help me,two questions,how to import list input on my
> def math(input,*listinput*) how to define this ?
> now i dont have model,on my html template how to connect on my scipt ?
>
> Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos
> Xristoou έγραψε:
>>
>> hello,
>>
>>
>> i create some python mathematical function on python idle,
>> i want to create website where the user import value numbers on the
>> function
>> and take the results from that.
>> question one,how to connect my mathematical function on the django?
>> question two,how to connect input and output from the scipts in the
>> website ?
>> the second question i ask because input and output from the function is a
>> dynamic define from the user
>>
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9a0759fa-1cc0-4bdc-89f0-0f407c49c944%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/9a0759fa-1cc0-4bdc-89f0-0f407c49c944%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
"La utopía sirve para caminar" Fernando Birri

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyPHL-huYVHTTtGJoW_f015%2B7fhvA-no4oxKkKDr0mdhxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to