Hi,
I am using in windows 7 64bit:
- python 2.7.3 32bit !!
- django 1.4.2
If use my internet explorer in my company,
it does an automatic login on some services.
Is there a possibilty to:
- add an user named "john" to my django
- if john goes to my django app with his
internet explorer:
See
https://docs.djangoproject.com/en/dev/howto/auth-remote-user/#howto-auth-remote-user
Tim.
On 17/11/12 09:13, Anton wrote:
Hi,
I am using in windows 7 64bit:
- python 2.7.3 32bit !!
- django 1.4.2
If use my internet explorer in my company,
it does an automatic login on some services.
Hi there,
the key idea is: *Let's have URLs defined at one and only one place.*
So, when you have urls.py like this:
urlpatterns = patterns('',
'^blog/(?P\w+)', BlogDetail.as_view(), name='blog-detail',
'^articles/(?P\w+)', ArticleDetail.as_view(),
In order to use get_absolute_url, first of all you need to have named urls.
Lets imagine we have the following named url.
url(r'^accounts/(P?d+)/$',
DetailView.as_view(
template_name='accounts/details.html',
), name='account_details')
In order to referece this url in a te
I'm puzzled with this too. Did anyone manage to find a solution to
resolving spaces in usernames.
Generally a user, these days logs in with their email - that's
predominately how I've setup all my django projects. People don't remember
usernames. It is legacy, facebook connects with emails, so
On Tue, Nov 13, 2012 at 1:17 PM, Rohit Banga wrote:
> Hi All
>
> model = ConcreteModel2
> exclude = ('field3_test')
>
>
> Now as you can see there are parallels between the two model forms.
> The problem is that in my template field1 is visible for ConcreteModel1Form
> (
On Fri, Nov 16, 2012 at 10:59 AM, Cj Taylor wrote:
> Hello all,
> I'm new to Django and somewhat Python (a PHP refugee). I have been
> learning Python 3.0 so decided to give 1.5 a run. I tried to run the
> command below and mysqldb is missing. I noticed on
> http://mysql-python.blogspot.com/
I run a django program with psycopg2 on Mac and then it works fine. Now, I
am trying to run the same program on Windows. Then "ImportError: No module
named psycopg2.extensions" shows up. I installed the same version of
django, postgres, psycopg2.
Please give me a help.
--
You received this
So, the bottom line is, what do I need to do after I do a authenticate() to
have the login persist in the session and in the other views?
Thanks
On Nov 15, 2012, at 8:23 PM, Anil Jangity wrote:
> I am trying to build a custom User model with a custom authentication backend
> (ldap).
> Here i
On Sat, Nov 17, 2012 at 11:07 AM, Jun Tanaka wrote:
> I run a django program with psycopg2 on Mac and then it works fine. Now, I
> am trying to run the same program on Windows. Then "ImportError: No module
> named psycopg2.extensions" shows up. I installed the same version of
> django, postgres,
> I'm puzzled with this too. Did anyone manage to find a solution to resolving
> spaces in usernames.
>
> Generally a user, these days logs in with their email - that's predominately
> how I've setup all my django projects. People don't remember usernames. It
Well, I can't really agree, but whatev
Hi, I finally got a project in Django and I have a "what I hope is an easy
question" I started to set up a production server and yes the admin css
dissappeared, I went though the docs and followed them. I used the Collect
Static Files method and still no joy. Here is my info:
#settings.py
MEDIA_RO
That package installs into my python directory but not python3. I'm
currently trying to get Django 1.5 to work with python3. Are there other
ways currently to get mysql to work with django and the python3 environment?
Try this :
> sudo apt-get install python-mysqldb
>
> --
> Sandeep Kaur
Hi, Yea got it, the nginx static had to be removed from the alias url.
thanks
-- Forwarded message --
From: Gerald Klein
Date: Sat, Nov 17, 2012 at 1:27 PM
Subject: Noobe alert
To: django-users@googlegroups.com
Hi, I finally got a project in Django and I have a "what I hope is
Hi all,
I've just released Gnotty 0.1 - it's a Django app that provides a web
client, searchable message archive and bot framework, all based around an
IRC channel. It uses Django for the message store and search interface,
WebSockets and gevent for the IRC bridge, and Twitter's Bootstrap for the
Thank you for your advise. I used the trace back and it says
'exceptions.ImportError'. On Windows, cay you not easy_install psycopg2?
When I did, it seems that it was done correctly.
Please help!!!
2012年11月18日日曜日 2時11分23秒 UTC+9 ovnicraft:
>
>
>
>
> On Sat, Nov 17, 2012 at 11:07 AM, Jun Ta
16 matches
Mail list logo