Hello Asif!

To use a method from one app in another app would require you to import the 
app's module (using from - import statements), allowing the interpreter to 
know that the function from one scope is available on another.

In a serious note, I recommend that you first familiarize yourself with the 
Python language, maybe take a online course/tutorial about all its 
functionalities, and then go on to learning Django (maybe take the Django 
Documentation tutorial, it is really good).

I will leave you here some links to good resources for both beginner and 
advanced python and django.

https://learnpythonthehardway.org/book/
https://docs.python.org/3/tutorial/index.html
https://developers.google.com/edu/python/

https://docs.djangoproject.com/en/2.0/intro/tutorial01/
https://docs.djangoproject.com/en/2.0/

Hope it helps!

On Monday, May 21, 2018 at 2:01:45 PM UTC-3, Asif Khan wrote:
>
> I am trying to import function wrote in one of app in a project to import 
> that function in other app in same project.
>
> like I have one project and two apps.
>
> Project1
>            Project1
>            accounts app (function written in this app)
>            VV app (wants to utilize in this app)
>
> I am new to Python and Django as developer.
>
> Regards, Asif
>       
>
>

-- 
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/17ff2816-73db-431f-a1c4-bcf0a7417eca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to