Re: What is meaning of '[::1]'?

2016-11-20 Thread Stephen J. Butler
"::1" is the IPv6 loopback address. If you haven't seen IPv6 addresses before, they separate the parts of an address with ":" instead of ".". Using two together ("::") is a shorthand for "fill all these bits with zero" and it can appear only once in an address. You see the brackets "[]" in URLs

Re: What is meaning of '[::1]'?

2016-11-20 Thread James Bennett
It's the IPv6 loopback address. So it has the same function as 127.0.0.1, just for IPv6 instead of IPv4. On Sun, Nov 20, 2016 at 6:45 PM, bob gailer wrote: > From https://docs.djangoproject.com/en/1.10/ref/settings/#std:set > ting-ALLOWED_HOSTS: > > "When DEBUG is |True| and

What is meaning of '[::1]'?

2016-11-20 Thread bob gailer
From https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-ALLOWED_HOSTS: "When DEBUG is |True| and |ALLOWED_HOSTS| is empty, the host is validated against |['localhost', '127.0.0.1', '[::1]']|." What is meaning of '[::1]'? -- You received this message because you are subscribed

Re: Help with runserver

2016-11-20 Thread Alex Heyden
Is there anything at mysite/urls.py? Also, how sure are you that you're actually hitting the Django server? If you turn off the Django server, do you get the same page? If you navigate to http://localhost:8000/ with runserver running, do you see the GET request in the console? On Sun, Nov 20,

Re: How to create a django model for a resume/CV app

2016-11-20 Thread 'ron' via Django users
Thanks! I know it's been covered in the official django poll tutorial. But how do I let users to do that without django admin? I probably will have an URL like: example.com/cv/create and only logged in users will be able to create their cv. I am not sure how to set up the view so that users can

Re: Help with runserver

2016-11-20 Thread NS
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.10.3. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see

Re: Help with runserver

2016-11-20 Thread NS
DEBUG is set to true, and I don't see any error messages. There is no trace in the console either. On Saturday, November 19, 2016 at 11:11:36 PM UTC-5, Asad Jibran Ahmed wrote: > > Do you have debugging turned on (DEBUG=True in settings.py) in Django? If > you do, you should see a pretty

Re: How to hook into the admin site to count login attempts with REST API / proxy?

2016-11-20 Thread Luis Zárate
Hi You can override the admin login page overwriting the URLs, you can put your own login view in admin/account/login after admin include in URLs El domingo, 20 de noviembre de 2016, Reza Shalbafzadeh < rezashal...@gmail.com> escribió: > Hi > you still can use Django axes as described in Django

Re: How to hook into the admin site to count login attempts with REST API / proxy?

2016-11-20 Thread Reza Shalbafzadeh
Hi you still can use Django axes as described in Django axes documentation : django-axes requires a supported Django version. The application is intended to work around the Django admin and the regular

Re: Extending FieldField (the way ImageField does)

2016-11-20 Thread Michal Petrucha
On Sat, Nov 19, 2016 at 01:34:31PM -0800, Serge Wroclawski wrote: > Hi all, > > I've been a casual user of Django for years, but recently have need to make > a new field based on FileField. I decided to take a look at ImageField, > since it is very similar to what I'm doing. > > Specifically