Hello,
I am kind of new to the Django world and am trying to create a website
which allows students to submit course reviews and also search courses
based on certain attributes.
Am using AWS, Django, PostgreSQL, Elasticsearch. I am trying to figure out
components to solve for the following 2 u
...Thanks everyone for the above discussion -- some progress today has been
noted...
To answer Matt's question...
The variable at the root of the error appears to be -- response.
as found in /usr/lib/python2.7/site-packages/django/core/handlers/base.py
line 89
response is assigned as "None" in
For what it’s worth, I do get this error sometimes when I am running the
development server, even in Python 3.5 and Django 1.10. But because it’s the
development server, I simply disregard it.
I typically only get this message when I am running several AJAX calls very
close together. (e.g. Whe
Thanks for the reply.
I agree the probability of this being a bug in Django is improbable still I
found git hub django
bug descriptions/discussions which URLs are listed in previous posts. Both
of those URLs
listed patches to fix the situation, not directly in Django but in the
WsgiRef compone
Hi Dan,
Thank you, much, for the pointer. I was totally unaware of the ccbv
website. I looked over the 1.9 area this morning and after about 30 minutes
I think I have a good feel for how the methods are being called. I believe
I can use the classes and methods without going 'under the hood'.
Hello,
Thanks Carlos but modifying TypeOeuvre as suggested
def __unicode__(self):
return self.intitule.__str__
generates the following error :
Exception Type: TypeError at /admin/prelib/typeoeuvre/11/delete/Exception
Value: __str__ returned non-string (type method-wrapper)
2016-12-02
def __unicode__(self):
return "{0} [{1}]".format(self.titre[:200], self.id).__str__
def __unicode__(self):
return self.intitule.__str__
2016-12-02 10:03 GMT-03:00 Jean-Baptiste Pressac :
> Hello,
> On Django 1.8 + Python 2.7.11, I have declared in Django admin.py an
> oeuvre cl
Hello,
On Django 1.8 + Python 2.7.11, I have declared in Django admin.py an oeuvre
class with a ManyToManyField (types) to an TypeOeuvre class.
class Oeuvre(models.Model):
titre = models.CharField(max_length=510)
types = models.ManyToManyField('TypeOeuvre',
Hi,
you have to add name attribute in html file and use same name
attribute in request dictionary to get value
On Fri, Dec 2, 2016 at 8:21 AM, Jordan W wrote:
> Daniel, you nailed it! I didn't have the name specified. Adding that makes
> it propagate through!
>
> On Monday, November 28, 201
9 matches
Mail list logo