Re: Making a scheduling app/programm for recurring treatment

2019-10-31 Thread Motaz Hejaze
Any time , send me a text message at first On Thu, 31 Oct 2019, 6:10 am Nithin Bhaskar, wrote: > Hey, > Thanks. > What would be the right time to call you? > > On Wed, 30 Oct 2019 at 22:36, Motaz Hejaze wrote: > >> I can cooperate with you .. >> Talk to me on skype : m3tz-hjze >> >> On Wed, 30

Re: Alternatives to django ajax select - VIMP Information for EveryOne

2019-10-31 Thread Balaji Shetty
Really Very Nice Help. Thx On Thu, Oct 31, 2019 at 6:22 AM carlos wrote: > https://github.com/yourlabs/django-autocomplete-light > > On Wed, Oct 30, 2019 at 3:35 PM Luis Zárate wrote: > >> Hi Guys, >> >> Do you know any alternative to django-ajax-selects, I am using it in a >> project in djang

Export HTML template filled by form to HTML file

2019-10-31 Thread Valentin Jungbluth
I have a template page on which one I access when I filled my `Django form`. This page is a simple `HTML page` with data coming from my form. I would like to be able to download the filled template. That's to say, get a browser window which let to download the template or by clicking on a butto

html home file is not opening while running under django env......

2019-10-31 Thread হজমুলা খান
i am novice and following django for beginners ebook. while i am running the program base.html and about.html are working properly but when i click on the home link, it shows: Page not found (404) Request Method: GET Request URL: http://localhost:8000/home Using the URLconf defined in pages_pr

Re: Not able to install django-heroku

2019-10-31 Thread Kasper Laudrup
Hi Soumya, On 31/10/2019 08.28, soumya sharma wrote: I tried installing the psycopg-binary as suggested in the error statement but it is still not working. Please help I don't know anything about django-heroku, but the reason you get the error is that you are attempting to build the psycopg

Re: html home file is not opening while running under django env......

2019-10-31 Thread Kasper Laudrup
Hi হজমুলা খান, On 31/10/2019 11.22, হজমুলা খান wrote: i am novice and following django for beginners ebook. while i am running the program  base.html and about.html are working properly but when i click on the home link, it shows: Page not found (404) Request Method: GET Request URL:h

Re: html home file is not opening while running under django env......

2019-10-31 Thread Shubham Badaya
I am not knowledge form digonal On Thursday, 31 October 2019 17:15:23 UTC+5:30, হজমুলা খান wrote: > > i am novice and following django for beginners ebook. while i am running > the program base.html and about.html are working properly but when i click > on the home link, it shows: > > Page not

Re: __init__ method called every time on same APIView object

2019-10-31 Thread Diana María Bedoya Ramírez
*urls.py:* urlpatterns = [ ... path('incoming-calls/', incoming_calls.IncomingCallsReport.as_view(), name='incoming-calls'), ... ] *incoming_calls.py* class IncomingCallsReport(APIView): select_fields = ["uniqueid", "enterdate"] def __init__(self): show_contact_details = settin

Re: Not able to install django-heroku

2019-10-31 Thread soumya sharma
Thanks, Kasper. I don't know what the issue was but it is working fine now. I added django-heroku==0.3.1 in the requirements.txt file and it worked. :) On Thursday, October 31, 2019 at 5:50:36 PM UTC+5:30, Kasper Laudrup wrote: > > Hi Soumya, > > On 31/10/2019 08.28, soumya sharma wrote: > > I

Re: Export HTML template filled by form to HTML file

2019-10-31 Thread Bruckner de Villiers
If I haven’t misunderstood, you wish to add/update/list data to/from the DB via a form?  I am learning myself and I have just successfully  managed to achieve this through CBV’s (Class Based Views), which obviate the use of forms and perform well – with fewer lines of code. In Django 2.2.x the v

Re: Not able to install django-heroku

2019-10-31 Thread lewis machilika
i think you should first check version of both pip and python u might need pip3 or python 3 to run those commands since you are trying to install latest version of django using old pip/python On 10/31/19, soumya sharma wrote: > Thanks, Kasper. I don't know what the issue was but it is working fin

Re: html home file is not opening while running under django env......

2019-10-31 Thread হজমুলা খান
On Thursday, October 31, 2019 at 12:22:48 PM UTC, Kasper Laudrup wrote: > > Hi হজমুলা খান, > > On 31/10/2019 11.22, হজমুলা খান wrote: > > i am novice and following django for beginners ebook. while i am running > > the program base.html and about.html are working properly but when i > > clic

Field Select MasterDetail

2019-10-31 Thread J-23
Hello, I am new to Django. I have a FormFault model, which has two foreign keys "BuildingOwner" and "Building", the key "Building" depends on "BuildingOwner" on the form, it gives me two fields of type Select (ComboBox) or is there a way in Django that the content of ComboBox changes depending

Re: html home file is not opening while running under django env......

2019-10-31 Thread Bruckner de Villiers
Did you import include? Bruckner 0836251086 > On 01 Nov 2019, at 00:29, হজমুলা খান wrote: > >  > > >> On Thursday, October 31, 2019 at 12:22:48 PM UTC, Kasper Laudrup wrote: >> Hi হজমুলা খান, >> >> On 31/10/2019 11.22, হজমুলা খান wrote: >> > i am novice and following django for beginners

Re: Field Select MasterDetail

2019-10-31 Thread Bruckner de Villiers
I have a similar challenge and I think that I shall tackle it by making the first level dependency outside the main model, i.e. Building should be a ForeignKey in BuildingOwner model. Then your main model shouldn’t have the a link to the Building model, but rather 2 ForeignKeys to BuildingOwner