How to display class based views

2022-02-18 Thread Wilford Chidawanyika
Good day, Trust you are all well i have written my models and they are working very well. l am struggling to create a class based view which will diplay on the client dashboard side so that he can enter data on a form please i need help you can app on +27 66 3838 041 With thanks Wilford --

Re: How to retrieve the values of environment variables in cpanel?

2022-02-18 Thread Walter Randazzo
To All, I was able to successfully setup environment variables in cpanel using the package python-dotenv. Here is the instructions that I followed up: https://help.pythonanywhere.com/pages/environment-variables-for-web-apps/ Thanks Imad to help, Regards, El sáb, 19 feb 2022 a las 0:58,

Re: How to retrieve the values of environment variables in cpanel?

2022-02-18 Thread Walter Randazzo
Hi Imad, I've just follow up the steps u suggested with no luck. I think i miss up something. How you set the SECRET_KEY variable in settings.py file? Thanks in advances, El mar, 8 feb 2022 a las 11:16, Walter Randazzo () escribió: > Hi Imad, > > Thanks very much for your help. > > Ill

Re: Issue in not getting correct latitude and longitude while

2022-02-18 Thread Kasper Laudrup
On 18/02/2022 11.41, Aditi Sinha. wrote: Hey ,Guy's  I am getting an error in the results of my code as I am trying to get the state and the current latitude of state but this is not happening i am getting latitude and longitude but that is the same I am getting this is not getting worked i am

Issue in not getting correct latitude and longitude while

2022-02-18 Thread Aditi Sinha.
Hey ,Guy's I am getting an error in the results of my code as I am trying to get the state and the current latitude of state but this is not happening i am getting latitude and longitude but that is the same I am getting this is not getting worked i am writing my code in python using

Re: Display an URLField as a Link

2022-02-18 Thread pavan dhok
its work for me. # models.py # class YourModel(models.Model): Website_list = models.URLField(max_length=5000) def url(self): return format_html("{url}", url=self.Website_list) # admin.py # list_display = ['url'] On Wednesday, May 27, 2009 at 6:00:41 AM UTC+5:30

Re: Authentication by proxy server was unsuccessful ,what the problem?, that's the output from my browser .

2022-02-18 Thread kuda ronnie
https://stackoverflow.com/questions/19094720/how-to-automatically-reload-django-when-files-change On Fri, Feb 18, 2022 at 9:50 AM Heman Okumbo wrote: > Probably a refresh or caches to detect changes made to settings,as i had > earlier included additional settings.Thnx for the tip.How can you