I want to use it in my admin
Sent from my iPhone
> On Aug 9, 2018, at 7:16 PM, Kasper Laudrup wrote:
>
> Hi Aladin,
>
>> On 09/08/2018 15.07, Aladin Masen wrote:
>> Please how can i use the django_markdown with django 2
>
> You probably can't, since the library seems to be unmaintained and
the dev for that library has specified that this is not compatible with
django 2.1. so your options are to either find another connector library
compatible with 2.1 or downgrade to using 2.0.x
https://github.com/michiya/django-pyodbc-azure/blob/azure-2.0/setup.py#L29
>
--
You received this m
Are you using sqlite for your db? if so, there are some notes about case
insensitive matching at
https://docs.djangoproject.com/en/dev/ref/databases/#sqlite-string-matching
otherwise, I'd be interested in seeing what your SQL is like
in your django shell, do the following:
doctors = Doctors.o
The only reasonable explanation is Django sees only upper case inputs as
being case sensitive .so inputting a lower case and specifying icontains
wouldnt change anything .you could get your input from a form to confirm
On Fri., 10 Aug. 2018, 18:06 Joel, wrote:
> I'm trying to do a case insensit
A context contains the variables that you want your template to be able to
access. It is common to want to access stuff from the request. You could
copy those things that you need into the dict that you pass to the Context
constructor or define an element of the dict to hold the Request object an
*The users who should do the testing say "The new system should be like the
production system."*
You need to let them know ASAP that that is very unlikely to be the case,
unless you are using exactly the same tools. You can probably provide
similar functionality.
Otherwise you are too vague to
It means manage.py file is not in the same directory .. where you run
python manage.py runserver
On 10 Aug 2018 3:01 am, "Welly Iskand" wrote:
On Friday, August 10, 2018 at 3:54:54 AM UTC+7, vasu wrote:
>
> while running python manage.py runserver 8080 this in cmd ...i am getting
> cant open f
This is what I got:
In [8]: doct = doctor.objects.filter(name__icontains = 'joel')
...: print(doct.query)
SELECT `appointments_doctor`.`docid`, `appointments_doctor`.`name`,
`appointments_doctor`.`username`, `appointments_doctor`.`regid`,
`appointments_doctor`.`photo`, `appointments_doctor`.`e
This workaround works.
In [10]: from django.db.models.functions import Lower
In [11]: from django.db.models import CharField
In [12]: CharField.register_lookup(Lower, "lower")
Out[12]: django.db.models.functions.base.Lower
In [13]: doctor.objects.filter(name__lower__contains="joel")
Out[13]: , ]
Check out https://code.djangoproject.com/ticket/9682. Apparently this is a
mysql specific thing.
--
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
to django-users+u
On vrijdag 10 augustus 2018 16:51:54 CEST zengkeat wrote:
> I have a UpdateView for editing a post, but instead of making a DeleteView
> for delete a post, i try to make UpdateView include a function to delete
> the post. So ,i want to edit and delete a post in UpdateView. Is that
> possible ? i t
Hello everyone,
I recently completed the Django first app tutorial and am decently happy
with what I have.
I would like to continue adding to the site by making small improvements
here and there. Anyways I found a cool cube clock on freefrontend.com but I
can't seem
to figure out how to add it
12 matches
Mail list logo