Re: Bug using Admin with Stripe - but whose is it?

2022-05-06 Thread Ahmed omar miladi
Hello mike i hope you are doing well can we make a video call to solve this problem i can be helpfull On Sat, 7 May 2022 at 01:56, Mike Dewhirst wrote: > OK - don't worry about this for the time being. The problem is obviously > where I haven't yet looked. So I'm now going to simplify every bit

Re: Bug using Admin with Stripe - but whose is it?

2022-05-06 Thread Mike Dewhirst
OK - don't worry about this for the time being. The problem is obviously where I haven't yet looked. So I'm now going to simplify every bit of code/html/css following the successful acquisition of the Stripe token to see if it suddenly starts working. M On 6/05/2022 6:07 pm, Mike Dewhirst

Re: Django 3.0 -> 3.1 performance degradation

2022-05-06 Thread Jonatan Heyman
Hi! And thanks for the reply! I've read the release notes but couldn't see anything that popped out as the possible cause. But I'm going to give them another read. Currently, the app is running fine on 3.0, and I haven't started debugging what might be the cause. I started with a message to

Re: 'str' object is not callable

2022-05-06 Thread Lalit Suthar
this part of the code looks fine from a first look. Can you share the complete view code for this On Fri, 6 May 2022 at 12:11, Salima Begum wrote: > Hi all, > In my project I am Django messages Framework. I am always facing 'str' > object error I dont understand how to solve this problem.

double forms

2022-05-06 Thread Andy Li
Hi I'm trying to put two forms, here is my code: ``` class FrontView(LoginRequiredMixin, UserPassesTestMixin, FormView): template_name = "template.html" form_class = FirstForm coupon_form = SecondForm def get_context_data(self, **kwargs): kwargs['second_form'] = self.second_form return

Re: Help please,

2022-05-06 Thread John McClain
connect it using your git! place the keys in your file. remember to remove the keys when publishing to get or you will share them with the world. If you are reading KT and still not connecting it is because you have skipped a step. Follow your tutorial fully and it should be a very easy task (one

Help please,

2022-05-06 Thread Dexterr Jay
How do I make my domain be like https://my domain.herokuapp.com/mainapp/ when I open my Django app hosted on heroku -- 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

Re: Model Design

2022-05-06 Thread Lunga Baliwe
Also/maybe if you haven't please check https://django-import-export.readthedocs.io/en/latest/ On Thu, May 5, 2022 at 3:59 PM 'David Turner' via Django users < django-users@googlegroups.com> wrote: > We receive the data every two weeks and then use django-import-export to > import the data into

Re: Chaining county/cites api to models

2022-05-06 Thread Heman Okumbo
"ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" I need to chain my models to this api such that after selecting the city,you a get a redirect to a form so you can fill in personal details On Fri, May 6, 2022, 12:36 Muhammad Juwaini Abdul Rahman wrote: > Can you share the link of

Re: Chaining county/cites api to models

2022-05-06 Thread Muhammad Juwaini Abdul Rahman
Can you share the link of the API? On Fri, 6 May 2022 at 17:27, Heman Okumbo wrote: > Thanks for the tip,i guess i have to dig deeper to get what exactly fits > my model design. > > On Fri, May 6, 2022, 04:04 Muhammad Juwaini Abdul Rahman < > juwa...@gmail.com> wrote: > >> Try this: >> >> >>

Re: Chaining county/cites api to models

2022-05-06 Thread Heman Okumbo
Thanks for the tip,i guess i have to dig deeper to get what exactly fits my model design. On Fri, May 6, 2022, 04:04 Muhammad Juwaini Abdul Rahman wrote: > Try this: > > >

Bug using Admin with Stripe - but whose is it?

2022-05-06 Thread Mike Dewhirst
I'm obviously at fault but I'm not smart enough to figure it out. Any help is appreciated. The mechanism below exhibits no errors at the Stripe end. Stripe returns the necessary payment token. I have tried brutally stripping of the "/change/payment" and while it silences the error, the form

'str' object is not callable

2022-05-06 Thread Salima Begum
Hi all, In my project I am Django messages Framework. I am always facing 'str' object error I dont understand how to solve this problem. Previously also I face same issue. Now it is reproduced. I am using django 4.0.4 version. Python 3.9.6 ``` messages.success(request, "Welcome back") ``` ```

'str' object is not callable

2022-05-06 Thread Salima Begum
Hi all, In my project I am Django messages Framework. I am always facing 'str' object error I dont understand how to solve this problem. Previously also I face same issue. Now it is reproduced. I am using django 4.0.4 version. Python 3.9.6 ``` messages.success(request, "Welcome back") ``` ```