you can use datetime.datetime.strptime to avoid this error. I resolved it
few days back.
for this you have to import datetime like this: import datetime
On Sat, Jan 22, 2022 at 12:19 PM Lalit Suthar
wrote:
> Fabio C. Barrionuevo da Luz's answer will work like a charm!
>
>
>
> On Fri, 21 Jan 2022
Hi, for the first, you need to install pypdf2..it's Easy yo get metadata
from pdf with that library... Greetings
El jue., 20 de ene. de 2022 09:16, Amor Zamora
escribiĆ³:
> I have 2 problems working with pdf in django.
> 1. I need a tool, function or library that allows me to open a pdf and
> rea
That answer is about reversing across apps, which I'm quite familiar with,
and which still requires that the URL-owning app and its URLConfs be
imported to the Django project where the reversing is being done. The
trouble is that the URLConf also has to import the views; which in turn
won't im
Hii, i want to make a beautiful home page for myself. Can anybody suggest
some code fr the same, I am new to django.
Best regards,
Sarmi
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails f
Hello
I have big problems with saving PIL objects to imagefield.
see my code below.
There are many solutions when searching on Google but none work for me.
What is the easiest way to save an image from url to ImageField?
# return Pil image
def get_img_from_url(url):
urllib.request.urlretrie
yes, this is answered at https://stackoverflow.com/a/32171651
On Saturday, January 22, 2022 at 8:07:09 AM UTC-5 Noemi Millman wrote:
> Hi folks --
>
> Let's say you have two different services with different views and
> URLConfs; some shared modules/apps and some service-specific. Is there a
>
I think I found a fix to a bug that I don't know was affecting anyone other
than me.
You can see a better formatted version of what I've typed below at
https://bnmng.wordpress.com/2022/01/22/make-sure-the-widget-is-correct-in-a-django-inline-model-formset/
TL;DR: For a DateTimeInput widget wher
Hi folks --
Let's say you have two different services with different views and
URLConfs; some shared modules/apps and some service-specific. Is there a
way for Service A to reverse URLs served by Service B without having to
import all the dependencies that are necessary to execute Service B's
8 matches
Mail list logo