I'm going through the tutorial, about views right now. I have this
code:
def index(request):
latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5]
t = loader.get_template('polls/index.html')
c = Context({
'latest_poll_list': latest_poll_list
})
HttpResponse(t.
Thanks, I just noticed that. I overlook the simplest things sometimes. =/
On Fri, Aug 12, 2011 at 10:07 PM, Karen Tracey wrote:
> On Fri, Aug 12, 2011 at 10:04 PM, Harrison wrote:
>
>> I'm going through the tutorial, about views right now. I have this
>> code:
Hello,
I have posted everything on stack overflow so if you just follow this link
that would be great, thanks!
http://stackoverflow.com/questions/31366278/allauth-will-not-save-additional-fields
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
I have tried taking an available bootstrap calendar and feeding calendar
items via JSON file but I'd rather find a way to export a static outlook
calendar to my django web page. Is this possible?
-Harrison
--
You received this message because you are subscribed to the Google Groups
&q
9 PM UTC-8, Matthew Pava wrote:
>
> You might want to look into this 3rd-party package that will give you
> access to the Exchange API.
>
> https://github.com/ecederstrand/exchangelib
>
>
>
>
>
> *From:* django...@googlegroups.com [mailto:
> django...@goog
I was unable to deploy django in a shared hosting
--
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+unsubscr...@googlegroups.com.
To post to this grou
Hi,
I've recently come across something that's stumped me. I am creating
a 'shortcut' function for easier creation of add/edit views. This
function needs to make a query on a model in the simple form:
model.objects.get(field_name=value)
where the variables "model", "field_name", and "value"
a-HA. Simple. I had a suspicion this would be a python solution
rather than Django-specific solution.
Thanks!
On Oct 27, 11:14 am, Daniel Roseman wrote:
> On Oct 27, 10:48 am, James Harrison Fisher
> wrote:
>
>
>
> > Hi,
>
> > I've recently come across
Hi,
I'm having some trouble with what I would have thought would be a
simple query. Working with the multi-table inheritance examples
Django gives:
class Place(models.Model):
name = models.CharField(max_length=50)
address = models.CharField(max_length=80)
class Restaurant(Place):
s
9 matches
Mail list logo