Hi Naveen.
Yes, that’s correct, I want to display the first 6 according to date. Each
record has to be in its own cell using a bootstrap 2 row and 3 column table.
Regards
> On 4 Mar 2020, at 08:53, Naveen Arora wrote:
>
> So you want to display data from this model to six cards, b
So you want to display data from this model to six cards, but how..i mean
each row can be said as "one data" so you want to display 6 rows of this
table basically on 6 rows. Another question is how you want to filter the
data, first 6 rows according to date, etc. ?
if you want to dis
m
> is there anyone who has tried to display data from a table to six different
> cards, when another record is added the first initialy is replaced ?
> regards
>
>
> --
> Perceval Maturure
> 083 303 9423
>
>
> --
> You received this message because you ar
Hi,
Can you explain what you are trying to achieve clearly.?
Regards
Naveen Arora
On Sunday, 1 March 2020 19:06:02 UTC+5:30, Perceval Maturure wrote:
>
> Hi Team
> is there anyone who has tried to display data from a table to six
> different cards, when another record is add
Search render tag
On Sun, Mar 1, 2020, 19:20 Perceval Maturure wrote:
> Hi Team
> is there anyone who has tried to display data from a table to six
> different cards, when another record is added the first initialy is
> replaced ?
> regards
>
>
> --
> *Perceval
Hi Team
is there anyone who has tried to display data from a table to six different
cards, when another record is added the first initialy is replaced ?
regards
--
*Perceval Maturure*
*083 303 9423*
--
You received this message because you are subscribed to the Google Groups
"Django
If you have the api running, and in the browser you get the display of your
data. Your problem is not about django is about a language or a framework
to program mobile.
Em quinta-feira, 23 de maio de 2019 10:06:12 UTC-3, Thiago brayo escreveu:
>
> I have been using the news api to fetch articles
I have been using the news api to fetch articles. Have the json data but I
cant seem to figure out how to display it on my app. Any help will be
appreciated.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and st
The flatpages view is not provided the context which includes 'posts'.
IMO you are correct with the {% load posts %} technique because it is
entirely as result of the template you are using that requires you display
that information -- if that makes sense.
In other words it's not because of the
I have a Django app called blogengine which does exactly what the name
implies. I can't seem to get data from blogengine (posts) to display in
templates when they're called by flatpages. I'm new to Django but I assume
this is a urls.py issue.
My urls.py:
from django.conf.urls.defaults import p
Dear Django developers,
Here is my problem:
author_A = [['book_x',1,10],['book_y',2,20],['book_z',3,30]]
author_B = [['book_s',5,10],['book_t',2,20],['book_z',3,30]]
author_A AND author_B = ['book_z',3,30]
author_A = [['book_x',1,10],['book_y',2,20]]
author_B = [['book_
On Jul 2, 10:25 am, The Danny Bos wrote:
> DR.
> Bingo!!
>
> Thanks man,
> And thanks for the tip on "_set" being for ForeignKeys.
>
> d
>
> On Jul 3, 12:23 am, Daniel Roseman wrote:
>
> > On Jul 2, 3:20 pm, The Danny Bos wrote:> Daniel,
>
> > > {% for author in review.item.author_set.all %}
>
>
> TINo, no errors at all, it just doesn't display.
Wat doesn't display? The publisher name? The authors?
>
> Agreed it is a ManyToMany type. Am thinking perhaps a ForeignKey type
> may work just fine. Any reason you guys can think of that an Author
> field should be a ManyToMany?
>
Depends.
Daniel,
{% for author in review.item.author_set.all %}
Is what I've been using.
TINo, no errors at all, it just doesn't display.
Agreed it is a ManyToMany type. Am thinking perhaps a ForeignKey type
may work just fine. Any reason you guys can think of that an Author
field should be a ManyToMany?
DR.
Bingo!!
Thanks man,
And thanks for the tip on "_set" being for ForeignKeys.
d
On Jul 3, 12:23 am, Daniel Roseman wrote:
> On Jul 2, 3:20 pm, The Danny Bos wrote:> Daniel,
>
> > {% for author in review.item.author_set.all %}
> > Is what I've been using.
>
> Aargh, copy and paste fail. S
On Jul 2, 3:20 pm, The Danny Bos wrote:
> Daniel,
>
> {% for author in review.item.author_set.all %}
> Is what I've been using.
>
Aargh, copy and paste fail. Should have been
{% for author in review.item.authors.all %}
--
DR.
--~--~-~--~~~---~--~~
You received this
On Jul 2, 2:55 pm, The Danny Bos wrote:
> K, I think I have it.
>
> Just having trouble getting the Author loop from within my Review
> set.
> Here's what I have below, I figured this was pretty close but I'm
> wrong aren't I?
>
> {% for review in reviews_full %}
> {{ revi
On Thu, Jul 2, 2009 at 15:55, The Danny Bos wrote:
> Just having trouble getting the Author loop from within my Review
> set.
> Here's what I have below, I figured this was pretty close but I'm
> wrong aren't I?
Does it give you any errors?
>{% for review in reviews_full %}
>
K, I think I have it.
Just having trouble getting the Author loop from within my Review
set.
Here's what I have below, I figured this was pretty close but I'm
wrong aren't I?
{% for review in reviews_full %}
{{ review.item.title }}
{{ review.item.publisher
You should take a look at select_related[1]. It will take the lot of
queries TiNo was talking about and flatten it down to one big one.
[1]
http://docs.djangoproject.com/en/dev/ref/models/querysets/#id4
Hope that helps,
Alex
On Jul 1, 1:34 pm, TiNo wrote:
> On Wed, Jul 1, 2009 at 16:59, The Da
On Wed, Jul 1, 2009 at 16:59, The Danny Bos wrote:
>
> Hi there,
>
> Seems easy, but I'm having an ass of a time. I think once I wrap my
> head around how to do this, I'll be rolling through Django like it's
> building sprites on a Commodore 64.
>
> So, I have four tables. Book, Publisher, Author
Hi there,
Seems easy, but I'm having an ass of a time. I think once I wrap my
head around how to do this, I'll be rolling through Django like it's
building sprites on a Commodore 64.
So, I have four tables. Book, Publisher, Author and Review. A classic
scenario.
I want to display a loop on the h
> Thanks. To be sure, when I do the python manage.py syncdb, that
> doesn't alter my existing database does it? What is syncdb doing in
> this case?
It is typically worth the effort to search the docs:
http://www.djangoproject.com/documentation/django-admin/#syncdb
Particularly, read the high
On May 4, 12:22 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sat, May 3, 2008 at 11:55 PM, jmDesktop <[EMAIL PROTECTED]> wrote:
>
> > If all I want to do is display a row(s) from a legacy database, one
> > that I did not create with Django and syncdb, will Django do that? Do
> > I have to
On Sat, May 3, 2008 at 11:55 PM, jmDesktop <[EMAIL PROTECTED]> wrote:
>
> If all I want to do is display a row(s) from a legacy database, one
> that I did not create with Django and syncdb, will Django do that? Do
> I have to alter my legacy database in any way (assume it's a pre-
> existing MySQ
If all I want to do is display a row(s) from a legacy database, one
that I did not create with Django and syncdb, will Django do that? Do
I have to alter my legacy database in any way (assume it's a pre-
existing MySQL, Oracle, or SQL Server database)?
Thank you.
--~--~-~--~~
On 5/6/07, gsmith <[EMAIL PROTECTED]> wrote:
...
> (r'^csi/rso/(minutes)/(\w{1,100})/$',
> 'mysite.rso.views_rso.showminutespage'),
>
> /
>
> view
>
> def showminutespage(request, thetable, partitle):
> thetabinfo = eval(thetable).objects.get(id=partitle)
> return render_to
Malcolm,
I tried you code but it's still not displaying any of the members for
that minute instance. Below is the code for my url, view, model, and
template
url
(r'^csi/rso/(minutes)/(\w{1,100})/$',
'mysite.rso.views_rso.showminutespage'),
/
view
def showminutespage(request, thetable
On Sun, 2007-05-06 at 13:46 -0700, gsmith wrote:
> I have the following tables
>
> class members(models.Model):
> title = models.CharField(maxlength=100)
> names = models.CharField(maxlength=100)
> email = models.EmailField()
> city = models.CharField(maxlength=100)
> state =
I have the following tables
class members(models.Model):
title = models.CharField(maxlength=100)
names = models.CharField(maxlength=100)
email = models.EmailField()
city = models.CharField(maxlength=100)
state = models.USStateField()
image = models.ImageField(upload_to='c:
30 matches
Mail list logo