Re: simple boy start learn python

2019-01-05 Thread Abdulrasheed Ibrahim
Djangogirls tutorial will be very helpful. https://docs.djangoproject.com/en/2.1/intro/tutorial01/ On Sat, 5 Jan 2019, 9:51 pm omar ahmed, wrote: > Django documentation is very good > > بتاريخ ٢٠١٩/٠١/٠٥ ١٠:٤٦ م، كتب : > >> I know that you are exp in django, so I need you tell me the best way

Re: Hello From Nigeria

2019-03-11 Thread Abdulrasheed Ibrahim
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 to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this g

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

2019-05-28 Thread Abdulrasheed Ibrahim
For security reasons, It's not recommended to use csrf_exempt, use it only where security doesn't matter On Tue, May 28, 2019, 1:13 PM Jeyakanth T Hi, > add one more line in your view.py header > > from django.views.decorators.csrf import csrf_exempt > > > then add decorator before your

Re: Django's str(queryset.query) returns invalid SQL if I compare datetimes

2019-08-23 Thread Abdulrasheed Ibrahim
What is your model, is 'date' a DateField or a CharField? On Thu, Aug 22, 2019, 12:47 PM wd QuerySet.query is not a plain string, it's an Query object, you can check > the source code > > def __str__(self): >> """ >> Return the query as a string of SQL with the parameter values >>

wkhtmltopdf on Amazon ElasticBeanstalk - ModuleNotFoundError: No module named 'main'

2020-02-21 Thread Abdulrasheed Ibrahim
Hello everyone, I need a hand a here. I have an app that uses wkhtmltopdf for generating pdf files, it works perfectly on my development environment. I now deployed the project on amazon eb and it doesn't work, below is the stacktrace: Traceback (most recent call last): File