Re: PLEASE HELP ME KNOW HOW TO ARRANGE INSTALLED APPS.

2022-10-18 Thread regan opere
Many, thanks for the reply. However, I have two apps in the directory called Apps.. so when I name the apps in the settings using tiles.apps.TilesConfig' it still does'nt work naming them like this: 'apps.core.apps', 'apps.store.apps', also still giver the error: django.core.exceptio

Re: Combining django apps

2022-10-18 Thread Paulo Andrade
First of all, you need to add all your apps in INSTALED APPS into the project > setings.py. I have 3 apps, core, members, and home. INSTALLED_APPS = [ (..) 'core', 'members', 'home', ] Secondly, you need to create a route to each app in your project > urls.py urlpatterns = [ path('

Re: PLEASE HELP ME KNOW HOW TO ARRANGE INSTALLED APPS.

2022-10-18 Thread Chukwudi Onwusa
Lets take App Directory name tiles. So inthe installed app list it will be 'tiles.apps.TilesConfig', Or put simply 'tiles', Hope it helps . On Tue, Oct 18, 2022, 06:16 regan opere wrote: > Hello, I am new to django and I am still learning. > I have created two apps core and store and I have re

Re: On button click need to call a python function...

2022-10-18 Thread subin
Please let me know if you need to reschedule. On Tue, Oct 18, 2022 at 7:05 AM Saswat Mahapatra wrote: > Hi , > > I am new to django. > On button click I need to call a python function which returns 2 values. > If both the values are the same then I need to display the same image in 2 > places on

Re: On button click need to call a python function...

2022-10-18 Thread subin
Please let me know if you need an extension. On Tue, Oct 18, 2022 at 7:18 AM Saswat Mahapatra wrote: > Hi jitendra, > > Thank you for your quick response. I am new to python web development. > On button click I need to call a python function and based on 2 values > which It will return I need

Re: On button click need to call a python function...

2022-10-18 Thread subin
Have a good day. On Tue, Oct 18, 2022 at 9:20 AM Mike Dewhirst wrote: > On 18/10/2022 5:04 pm, Saswat Mahapatra wrote: > > Hi , > > I am new to django. > On button click I need to call a python function which returns 2 values. > If both the values are the same then I need to display the same ima

Re: Combining django apps

2022-10-18 Thread subin
Hi ! Thanks for making an appointment with us. We’re located at . We look forward to seeing you then! On Tue, Oct 18, 2022 at 11:01 AM Jun Tanaka wrote: > > mysite/ > > manage.py > > config/ > > __init__.py > > settings.py > > urls.py > > wsgi.py > > a

Combining django apps

2022-10-18 Thread Jun Tanaka
mysite/ manage.py config/ __init__.py settings.py urls.py wsgi.py app1/ app1a/   app1b/ app2/ app3/ I would like to know how to combine apps together just like above. Each app itself works fine when runserver. I foll

Re: On button click need to call a python function...

2022-10-18 Thread Mike Dewhirst
On 18/10/2022 5:04 pm, Saswat Mahapatra wrote: Hi , I am new to django. On button click I need to call a python function which returns 2 values. If both the values are the same then I need to display the same image in 2 places on the web page or else a different image. How to call the python