Re: Unable to deploy heroku app

2022-10-27 Thread Abdul Qoyyuum Haji Abdul Kadir
/d/msgid/django-users/360e0fbc-59db-4bfa-a916-3c6700e3eed7n%40googlegroups.com?utm_medium=email_source=footer> > . > -- <https://about.me/qoyyuum?promo=email_sig_source=product_medium=email_sig_campaign=gmail_api_content=thumb> Abdul Qoyyuum Haji Abdul Kadir about.me/qoyyuum <https://

Re: Help

2022-09-27 Thread Abdul Qoyyuum Haji Abdul Kadir
That Udemy link is no longer valid. The Django official docs has a tutorial and is more relevant to the latest version versus older YouTube videos. https://docs.djangoproject.com/en/4.1/ Abdul Qoyyuum Bin Haji Abdul Kadir HP: +673 720 8043 about.me/qoyyuum On Tue, Sep 27, 2022, 10:41 PM peteru

Re: Use include template tag in another app template folder

2022-09-02 Thread Abdul Qoyyuum Haji Abdul Kadir
It would be problematic. Just copy and paste the template file from one app into the other. Abdul Qoyyuum Bin Haji Abdul Kadir about.me/qoyyuum On Fri, Sep 2, 2022, 5:22 PM mohamed khaled wrote: > I have two apps each one has template folder I want to use *include *template > tag

Re: Deploy Django Project in AAPanel

2022-09-01 Thread Abdul Qoyyuum Haji Abdul Kadir
Hi Javier, This doesn't sound like an issue with Django. Try raising a ticket on AAPanel GitHub repo with a full error message and steps to reproduce it. Abdul Qoyyuum Bin Haji Abdul Kadir about.me/qoyyuum On Thu, Sep 1, 2022, 8:11 AM Javier L. Camacaro wrote: > Does someone how to dep

Re: I want to fetch the value of radio field for updation but it only doesn't fetch even i use condition and value does comes but doesn't checked

2022-08-22 Thread Abdul Qoyyuum
CAA6_Mp44RQjMeWfVW82vvT2-GLrv5Jpu2nb_6edWON_3sgXQwQ%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsu

Re: tmichroservices in django

2022-08-17 Thread Abdul Qoyyuum
ooglegroups.com > <https://groups.google.com/d/msgid/django-users/fd81706b-6765-4805-9360-afb35753cc62n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You received this message because you are subscribed to

Re: dlango MultiValueDictKeyError

2022-08-10 Thread Abdul Qoyyuum
oogle.com/d/msgid/django-users/d62d078b-87b7-40c3-82fe-ad203e724357n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Combine Existing React App with Existing Django App

2022-08-03 Thread Abdul Qoyyuum
Yes it can be done. Django to provide API endpoints. React app to connect to those API endpoints. Abdul Qoyyuum Bin Haji Abdul Kadir System Engineer at Card Access Services HP: +673 720 8043 On Thu, Aug 4, 2022, 8:38 AM Lightning Bit < thelegendofearthretu...@gmail.com> wrote: > Is it

Re: Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-08-01 Thread Abdul Qoyyuum
dy72o68w852c9bhuw0fdasxpttm02p-njks7934b8sl-h99obj3i1f0vq63om8-okzqxt-kcl72n-o861ua-tut0wbuki823ym9cfl.1659106691758%40email.android.com > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You received this message because you are subscribed to the Google Groups "Django

Re: Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Abdul Qoyyuum
It really depends on your usecase. If you find that you can work without an API for your ecommerce website, then you don't need it. If you believe you need to make your ecommerce as a headless ecommerce site, then you need an API or GraphQL or other means of sharing data. On Sunday, July 31,

Re: How to create current user field in dango rest framework

2022-07-28 Thread Abdul Qoyyuum
A quick search on Stack overflow shows me this: https://stackoverflow.com/a/43032332 Abdul Qoyyuum Bin Haji Abdul Kadir System Engineer at Card Access Services HP: +673 720 8043 On Thu, Jul 28, 2022, 4:19 AM Ashok garsulla wrote: > Please tell me how can I create current User in dango R

Re: please help me to solve

2022-07-26 Thread Abdul Qoyyuum
Znde2MU7REjt-GTJc%3DR7NsmND9wVen_EgnghdQQziZcxJMw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAJwZnde2MU7REjt-GTJc%3DR7NsmND9wVen_EgnghdQQziZcxJMw%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 72

Re: Best digital ocean plan for a production server

2022-07-24 Thread Abdul Qoyyuum
heck this with > both Digital Ocean and Heroku anyway, but I wanted to understand experts > advice in this community. > > Best regards, > ~Ram > > On Wed, Jul 13, 2022 at 12:24 AM Abdul Qoyyuum > wrote: > >> I prefer Heroku and deploying Django as a docker ima

Re: problem

2022-07-20 Thread Abdul Qoyyuum
-2c42-476c-8505-8a9df707b910n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/02625cc0-2c42-476c-8505-8a9df707b910n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You received this message because you a

Re: Chat app using django

2022-07-20 Thread Abdul Qoyyuum
So I need it > for that. Please help me to inject the websockets in django as I'm very > much new to it *not websockets* but to *integration of websockets in > django*. > > On Wed, Jul 20, 2022, 08:28 Abdul Qoyyuum > wrote: > >> Hi Lakshyaraj, >> >> Chat app relies on qui

Re: Remote database using ssh

2022-07-19 Thread Abdul Qoyyuum
gt; To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/d0c2f56f-c739-4508-8529-4c5107f08636n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/d0c2f56f-c739-4508-8529-4c5107f08636n%40googlegroups.com?utm_medium=email_source=footer>

Re: Chat app using django

2022-07-19 Thread Abdul Qoyyuum
mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAF7qQgD7Ryvnp%2BPp74cs6aogFz32TQiKsH71X3WGcnrPG2FDdQ%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You received this message because you

Re: External Authentication with username in header

2022-07-17 Thread Abdul Qoyyuum
jango-users/4f1b2a47-6d3d-45e2-9c93-8bbca78d3e34n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/4f1b2a47-6d3d-45e2-9c93-8bbca78d3e34n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You

Re: Log out via GET requests is deprecated

2022-07-17 Thread Abdul Qoyyuum
Use the logout facility https://docs.djangoproject.com/en/4.1/topics/auth/default/#how-to-log-a-user-out from django.contrib.auth import logout def logout_view(request): logout(request) # Redirect to a success page. Abdul Qoyyuum Bin Haji Abdul Kadir System Engineer at Card Access

Re: Using activate() to set the timezone in Model Admin

2022-07-13 Thread Abdul Qoyyuum
You can set this up in Admin site with activate() as you found out. This stack overflow answer shows that the developer uses stackedinline on the admin site when representing to the user. https://stackoverflow.com/a/38730431 Abdul Qoyyuum Bin Haji Abdul Kadir System Engineer at Card Access

Re: Upload an image to firebase from django Html Page

2022-07-13 Thread Abdul Qoyyuum
You could instead use Whitenoise if Firebase Storage doesn't work out for you. http://whitenoise.evans.io/en/stable/ On Thursday, June 30, 2022 at 2:45:17 PM UTC+8 koushi...@gmail.com wrote: > I want to get image in input tag in Html page and upload it to the > firebase storage when the HTML

Re: Best digital ocean plan for a production server

2022-07-13 Thread Abdul Qoyyuum
I prefer Heroku and deploying Django as a docker image to Heroku. Less maintenance, worry less about server setups and focus more on code than anything else (i.e. serverless). Start with a hobby plan and if able to get customers, then start paying for scalability features. On Sunday, July 10,

Re:

2022-07-13 Thread Abdul Qoyyuum
You'll need to read the official doc. There is no price in djstripe models. https://dj-stripe.dev/reference/models/ On Tuesday, July 12, 2022 at 3:54:01 PM UTC+8 abhin...@snakescript.com wrote: > monthly_price = models.ForeignKey(stripe_models.Price, > AttributeError: module

Re: Django email | Gmail | Outlook

2022-06-13 Thread Abdul Qoyyuum
There are other alternatives if you use Django-Anymail package. Go to https://anymail.dev/en/stable/ to see a list of supported 3rd party email services. Some have free limits for you to use. Good luck! On Monday, May 30, 2022 at 7:22:38 PM UTC+8 devfem...@gmail.com wrote: > *Google* no longer

Re: Need best tutorial

2022-06-13 Thread Abdul Qoyyuum
Don't go straight to web development until you understand how Python works, especially when dealing with imports and managing variables in different scopes. I recommend learning from https://automatetheboringstuff.com as well as the Dive Into Python3. Both have some decent level of practice

Re: Can't login with Username

2022-06-13 Thread Abdul Qoyyuum
Create another superuser with python manage.py createsuperuser --username=joe --email=j...@example.com And then, login with joe and your new password. On Monday, June 13, 2022 at 9:39:04 PM UTC+8 sudip.flyon...@gmail.com wrote: > Hi All, > > I am practicing Django since 3 months and recently

Re: error save to model on a onto many relationship

2021-06-10 Thread Abdul Qoyyuum
What happens if you try and save choice#3 in question 1 only? Can you try in the Python shell? On Friday, June 11, 2021 at 8:38:37 AM UTC+8 suabiut wrote: > I am running to some issue saving to models in a one to make relationship. > The error is described Here >

Re: reagrding "{% csrf_token %}"issue on my web site login module

2019-05-30 Thread Abdul Qoyyuum
When you run the application and test the login, what do you see in the devtool's Network tab? Did you see if csrf_token is null? How about document.cookie? Is that also null? Is the document.cookie being passed to csrf_token in other ways? Lots of ways to complete this in Angular/jQuery/Ajax

Re: Create a real small business website with Django as soon as possible!!

2019-05-30 Thread Abdul Qoyyuum
Then just use a CMS like https://wagtail.io/. Wagtail is built on top of Django and its enough to cover all of your requirements. But its recommended that you go through Django tutorial in the docs first before trying out Wagtail though. On Saturday, May 25, 2019 at 3:30:56 AM UTC+8, Siavash

Forbidden (CSRF token missing or incorrect)

2019-05-21 Thread Abdul Qoyyuum
Hi Django Devs, Got a problem that I don't understand what's going on or why its gone missing. Logs says: csrf.py:process_view#184: Forbidden (CSRF token missing or incorrect.) The necessary code is in there: $("document").ready(function () { //