-
Clear the browser cache and cookies and then try to log in again. Sometimes
an old CSRF token can be stored in the browser cache and can cause issues.
-
On Friday, 24 March 2023 at 07:50:37 UTC+5:30 Ikrombek wrote:
>
> Hello,
> How can I use dental teeth section. For example, do I need
Create a view that will generate the Plotly chart. In the view, you can use
the Plotly library to create a chart object and return it as an HTML div
string. Here is an example view:
from django.shortcuts import render
import plotly.graph_objs as go
import plotly.offline as opy
from django.http
yeah, Ryan's comment definitely makes sense
On Thursday, 23 March 2023 at 20:22:17 UTC+5:30 Ryan Nowakowski wrote:
> Your field is called e_resource with an underscore but you're trying to
> reference it using a dash.
>
>
> On March 22, 2023 11:40:00 PM CDT, Shubhi Pandey
> wrote:
>>
>> the er
I need to filter a class (with list_filter) to get all objects with
"myfield" (a date field) with month = january
Instead of using a complex custom filter, i would like to create a
simple filter to link to the following url:
/admin/myobject/myfield__month=1
How would i do that? Do i have to creat
well, I ended up doing a sqlreset and dbshell and pasting it in there.
That worked but it seemed like maybe a bug so I posted it. Cheers!
On Apr 2, 5:21 pm, jd wrote:
> I've tried
>
> >python manage.py flush --database 'retail'
>
> ...and then changed the mo
I've tried
>python manage.py flush--database 'retail'
...and then changed the model a little.
syncdb gives no output about table creation afterwards, and objects
that were in the db remain after the flush.
also tried ...
>python manage.py reset retail_store --database 'retail'
same thin
That worked! Thank you S much! never would have found that :)
On Mar 28, 5:59 pm, Karen Tracey wrote:
> On Mon, Mar 28, 2011 at 1:39 PM, jd wrote:
> > I upgraded to 1.3 dev from 1.1 and now my admin links don't work. the
> > page domain.com/admin/ works and it shows m
Hi all,
I upgraded to 1.3 dev from 1.1 and now my admin links don't work. the
page domain.com/admin/ works and it shows my models listed, but when
clicking on any of them it doesn't leave the model list page. Instead
it keeps stacking the url I want to visit onto the existing url. I.e.
domain.com/
hello,
What's the current recommended way to deal with contenttypes when you
move a db using dumpdata? I know about excluding it, but I read
something about using the ---natural option with the dump command
would work as well. Does this work when including contenttypes in the
dump? Which is the pre
I'll check! Thanks!
On 21 Dic, 05:44, Kenneth Gonsalves wrote:
> On Mon, 2010-12-20 at 06:58 -0800, Michele JD Granocchia wrote:
> > Can anybody post a good tutorial / open source project to learn
> > something about database transactions?
>
> postgresql manual i
Can anybody post a good tutorial / open source project to learn
something about database transactions?
I didn't find anything useful...
Thanks in advance!!! ^_^
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Ys thanks a lot :)
>
> Why not just:
>
> cl2 =
> Class2.objects.filter(fieldwfk__field1__icontains=searchtext).order_by('-id')
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@google
(django 1.2)
Hi, i need to do the following:
Class 1, with a field called "field1" (CharField)
Class 2, with a field called "fieldwfk" (ForeignKey)
User enters a text and submits, which goes into "searchtext"
--- searchtext = request.GET.get('text')
Now i want to get all Class2 objects WHERE fi
13 matches
Mail list logo