You can also try this
$ python manage.py runserver 0.0.0.0:8000
You can get your IP from ifconfig, open that in a browser (it might be
192.168.0.10, etc). You can test your site from another machine in this way
K
On Saturday, October 12, 2013 10:02:40 AM UTC-7, gitrookie wrote:
>
> hi
>
> I
You need to understand what ALLOWED_HOSTS does if you want to ever deploy
your app. Please read it.
https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
Check your settings in the shell
>>> from django.conf import settings as s
>>> s.DEBUG
True
>>> s.ALLOWED_HOSTS
['.example.com',
You can use nxinx with uwsgi even with several domain names, nginx
takes care of that, you just run several uwsgi/gunicorn processes on
different tcp ports or unix sockets, and nginx will just select the
one that fits for its domain name (set in config) of course you need
to set it properly..
thanks Xavier,
the problem was that I mistyped poll.id as poll_id and now it works fine.
Thanks again for your input.
Regards,
Max
On Saturday, October 12, 2013 11:30:53 AM UTC-7, Xavier Ordoquy wrote:
>
> Hi,
>
> It looks like you are missing the poll in your context.
> {% url 'detail' poll.id
(template) enter how many fields you want to create
(views.py ) from that value I need to create a dynamic form then perform
calculations in a view
El sábado, 12 de octubre de 2013 15:15:17 UTC-3, ovnicraft escribió:
>
>
>
>
> On Sat, Oct 12, 2013 at 12:41 PM, Marcelo Britez
>
> > wrote:
>
>>
I'm working on a project in which on a certain page I want to have a list
of objects as well as the ability to delete and create them. I know that
there are class-based generic views for these things, but I don't want
three separate pages for these operations. What would be the best way to
have
Polls not pools?
—
Sent from Mailbox for iPhone
On Sat, Oct 12, 2013 at 12:58 PM, Enrico Battiston
wrote:
> Hi, i'm a first time user and i'm experiencing an error in the first part
> of the django 1.5 tutorial.
> At the "Activating models" paragraph when i execute the command line "*python
>
Hi,
It looks like you are missing the poll in your context.
{% url 'detail' poll.id %} will try to match an url named detail with the
argument poll.id
However Django says it can't find a reverse for 'detail' with arguments ('',)
which means that you don't have a poll in your context (or the poll
On Sat, Oct 12, 2013 at 12:41 PM, Marcelo Britez <
britezmarceloce...@gmail.com> wrote:
> Hi, I need to create a form in a view. I wonder if that's possible. thanks
>
Hello Marcelo, is hard to help you if yo dont provide more info.
Please send here more info about and what are you trying. Help u
Hi, I need to create a form in a view. I wonder if that's possible. thanks
--
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.
Thank you, I'm lost in a glass of water.
Il giorno sabato 12 ottobre 2013 19:25:46 UTC+2, Vernon D. Cole ha scritto:
>
> You have a spelling error in INSTALLED_APPS: "pools" vs "polls". You
> want a survey, not a puddle of water.
> (This could be caused by an overly aggressive spelling correcto
You can use nxinx with uwsgi even with several domain names, nginx takes
care of that, you just run several uwsgi/gunicorn processes on different
tcp ports or unix sockets, and nginx will just select the one that fits
for its domain name (set in config) of course you need to set it properly..
You have a spelling error in INSTALLED_APPS: "pools" vs "polls". You want
a survey, not a puddle of water.
(This could be caused by an overly aggressive spelling corrector on your
computer.)
--
Vernon
On Saturday, October 12, 2013 10:41:11 AM UTC-6, Enrico Battiston wrote:
>
> Hi, i'm a first
Also make sure your browser is not trying to use a proxy. 127.0.0.1 should
be an exception on the proxy setting.
--
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
t
That's exactly how I do it using Firefox on my Ubuntu 13.04 workstation. I
see nothing wrong in your explanation.
Are you trying to access it from the same computer that the development
server is running on?
If so, then check to see whether you have a firewall running on your
workstation whic
hi
I have just started to learn django. so I followed the instruction given in
the link below. I am using ubuntu 13.04 and using python 3.3.1 in a virtual
environment
https://docs.djangoproject.com/en/1.5/intro/tutorial01/
I ran the following command
*python manage.py runserver*
it gave the
Hi every body,
I have installe the stable version of jasig cas 3.5.2 on a tomcat server and
i am trying to integrate it with a django application.
here is a snapshot of my settings:
jasig cas : version 3.5.2 (default configuration, authentifation with same
user/password: admin/admin)
I am usin
Hi, i'm a first time user and i'm experiencing an error in the first part
of the django 1.5 tutorial.
At the "Activating models" paragraph when i execute the command line "*python
manage.py sql polls*" it return me: "ImportError: No module named pools".
Here the section INSTALLED_APPS of setting.
As with all software the best solutions are written to solve a problem that
bugs the developer. Find something that you find troublesome on a regular
basis, then code a solution.
Sent from my iPhone
> On Oct 12, 2013, at 12:26 AM, jasvir singh
> wrote:
>
> Hello everyone.
>
> I am new to t
Hi everyone,
I'm following the official django tutorials to learn Django by building the
polls app...
Everything seemed great until chapter 3.
I had this link as part of my index template, which was working fine:
{{ poll.question }}
however, this is hardcoded and the tutorial suggested a bette
I'm getting a 401 (Which is technically an Authorization error) after doing
this.
c = Client(enforce_csrf_checks=True)
response = c.get(a_url_that_requires_login)
csrfmiddlewaretoken = '%s' %response.context['csrf_token']
response = c.post(url, data=json.dumps(body),
content_type='applicatio
Hello everyone.
I am new to this mailing list, but have a long relationship with django.
I want to add something new to django, a new package to django.
Please suggest me to do something creative.
Previously I was thinking to create a package to embed youtube videos, but
packages for same already
Oscar, send us your email with your cv
On Friday, October 11, 2013 8:05:34 PM UTC+1, Oscar Carballal wrote:
>
> Ok, where should I send my CV? :)
>
>
> 2013/10/11 Team UK >
>
>> Remotely and Local applicants accepted. I can't really give you a
>> detailed job description because we are working on
Have you enabled the necessary WSGI modules in Apache and performed
the necessary configuration? You have to remember that the Django
python files need an application server to compile and process. Apache
out of the box doesn't do that. mod_wshi is one option.
I guess you mean mod_wsgi cos I d
24 matches
Mail list logo