trojactory has the right idea.
__unicode__ has two underscores on either side of _ _ unicode _ _
If you don't spell __unicode__ with two underscores on both sides, you are
not overriding the default method __unicode__
You are getting the default output for __unicode__ instead of the expected.
On Friday, January 10, 2014 2:36:56 PM UTC-5, Brad Rice wrote:
>
> I can't seem to find success using success_url
>
> If I try this in my urls.py file
>
> url(r'^step2/', AnswersCreate.as_view(success_url='/requestform/success'),
> name='answers'),
>
> and then in my view:
>
class AnswersCreate
Try to reload nginx.
sudo nginx -s reload
or stop it and restart
sudo nginx -s stop
> sudo nginx
if it's still not reflecting those changes, check which settings.py is
being used by runserver and the gunicorn. Or, the problem could be that you
have to restart gunicorn
sudo supervisorctl r
Hi,
I'm trying to build an app that records videos using webcam and plays it on
demand. Are there any resources/documentations on how to do this in Django?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
On 13/01/2014 5:05am, Piyush D wrote:
Hi,
I'm trying to build an app that records videos using webcam and plays it
on demand. Are there any resources/documentations on how to do this in
Django?
Look at
https://docs.djangoproject.com/en/1.6/ref/models/fields/#filefield which
indicates how to c
Trying to get started with Django. My tutorial tells me to run pip install
dj-database-url. When I do that, I get:
postgres@precise64:/vagrant/projects2/microblog$ pip install dj-database-url
Downloading/unpacking dj-database-url
Cannot fetch index base URL http://pypi.python.org/simple/ Could
6 matches
Mail list logo