localhost
127.0.1.1
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
TIA
Cheers,
nav
--
You received this message because you are subscri
makes me think this
is a DNS issue that may be due to a network related problem. In which
case I will have to investigate. I will post once I find a work around
or solution.
Cheers,
nav
On Aug 27, 5:36 pm, Anton Baklanov wrote:
> oh, i misunderstood your question.
>
> try to type url wi
.
In addition I am not sure if assigning the above causes any security issues
but since it is just a name I think it should be fine.
This issue may be related to not assigning a fully qualified domain name to
the Linux host.
Thanks for your help Anton and hope this helps others.
Cheers,
nav
On
Dear Folks,
I have the following view function defined like this:
my_view(request, uuid, backend=None)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/did
;, 'mybackend'])
this should match the first pattern but I keep getting a NoReverseMatch
exception. I am aware that I am missing something simple but I am not sure
what.
TIA,
nav
On Wednesday, August 29, 2012 11:54:08 AM UTC+5:30, nav wrote:
>
> Dear Folks,
>
> I have
Thanks Sebastian that worked. Can't believe it was that simple been
breaking my head on this for hours!
Cheers,
nav
On Wednesday, August 29, 2012 12:19:22 PM UTC+5:30, Sebastian wrote:
>
> On Tue, 28 Aug 2012 23:35:01 -0700 (PDT)
> nav > wrote:
>
> > BACKEND = r
,
nav
On Friday, August 31, 2012 10:22:41 PM UTC+5:30, nav wrote:
>
> Chris,
>
> Thank you for your email. I had cleared my cache quite a number of times
> before.
>
> What is interesting is that if I start a new Django 1.4.1 the browser
> finds the server running at 12
user.has_usable_password() method will return False
instead of True?
Many Thanks,
nav
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/yqNmZJR5mJgJ.
To po
reverse(project_name + '.' + view_name,
I just tried using the standard url method in django {% url
"app.views.view_decider" "about" %} and this works. I would like to
know where I am going wrong with my function so I
If anyone has any pointers as to what might be the problem please
answer. I would greatly appreciate any help you maybe able to provide.
Thanks.
nav
On Oct 17, 11:44 pm, nav wrote:
> Dear Folks,
>
> I am using a number of subdomains for my website and decided to create
> a custom
AT,
Thanks for your email I have posted the custom template tag code and
the traceback at dpaste. The template code is at:
http://dpaste.com/636570/
the traceback is at:
http://dpaste.com/636571/
Please do let me know if anything else is required.
Thanks,
nav
On Oct 18, 5:20 pm, Andre Terra
AT,
Thank you very much for your detailed answer. I have managed to get it
to work now and it seemed obvious after your explanation.
Thank you once again.
Yours sincerely,
nav
On Oct 18, 9:11 pm, Andre Terra wrote:
> Hello, nav
>
> The most relevant lines in your traceback are:
>
request.field = 'some value'
self.client.get(url)
assertsomething()
The variable field is checked for in the views and does some
processing based on that. What would be the best way to add this field
to the request sent by self.client.get().
Thanks,
Yours sincerely,
nav
--
You received th
s rendered
and wondered if you have any pointers in this respect.
Thanks once again.
Yours sincerely,
nav
On Nov 8, 8:39 pm, Flavia Missi wrote:
> When I need something like you want, I usually use RequestFactory to create
> the request and call the view directly.
>
> You can se
rror:
template_names = [t.name for t in response.templates]
AttributeError: 'TemplateResponse' object has no attribute
'templates'.
Have you seen this happen in your experience? I am thinking of taking
a look at
the django source to see what client.get() does different.
Thanks,
models.CharField(max_length=40, null=True, blank=False)
# Public (searchable) group
public = models.BooleanField(default=True, null=False)
Please do let me know if anything else is needed.
Cheers,
nav
--
You received this message because you are subscribed to the Google Groups
"Dj
Thanks. It seems so obvious something kept telling that forms worked
differently in the Admin interface compared to normal developer defined
forms. This is exactly what I would have done if it was form that I had
defined.
Cheers,
nav
On Wednesday, December 5, 2012 5:21:37 AM UTC+5:30, Chris
are required if all I want to do for is just cache the response, from just
a single view not the entire site.
It does not seem clear to me from the documentation here
<https://docs.djangoproject.com/en/1.9/topics/cache/>.
I hope someone can shed some light on this.
Thanks in advance.
na
"" which
is coming from the memcache.py from the python-memcached binding. This is
because the tuple of cache servers is empty instead of containing
127.0.0.1:11211.
I have verified that the memcache daemon is up and running and have added and
retrieved data from it.
Hence, I believe th
Setting the key CACHE_MIDDLEWARE_ALIAS to 'default' fixes the issue
Cheers,
Nanda
On Thursday, March 10, 2016 at 5:02:37 PM UTC-8, nav wrote:
>
> Sorry forgot to add the traceback I am getting:
>
> Internal Server Error: /
> Traceback (most recent call last):
> Fi
So Im trying to activate virtual environment but its not happening.
I type "venv\Scripts\activate" into my powershell and out comes :
"venv\Scripts\activate : The module 'venv' could not be loaded. For more
information,
run 'Import-Module venv'.
At line:1 char:1
+ venv\Scripts\activate
+ ~~
21 matches
Mail list logo