Yes I was trying to implement it for learning django properly. Alright , I
got your point.
On Thu, Mar 20, 2014 at 9:55 PM, C. Kirby wrote:
> Are you building your own authentication system as a learning opportunity
> or to actually use in a production system? If it is for a
My enviorent is : UBUNTU 12.04, django 1.6.1 python 3.3.4 nginx 1.4.7 and
uwsgi 2.0.2 The problem came when I registered a new user,Exception
location is where the code is "if form.is_valid()".
Exception value:[Errno 5] Input/output error
I just test it with the django's development server,
My enviorent is :ubuntu 12.04, django 1.6.1 python 3.3.4 nginx 1.4.7 and
uwsgi 2.0.2 The problem came when I registered a new user,Exception
location is where the code is "if form.is_valid()".
Exception value:[Errno 5] Input/output error
I just test it with the django's development server,
We're getting closer to 1.7!
Details in the blog post here:
https://www.djangoproject.com/weblog/2014/mar/20/django-17b1/
--
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
On 21/03/2014 11:13am, Russell Keith-Magee wrote:
On Thu, Mar 20, 2014 at 6:50 PM, Venkatraman S > wrote:
On Sat, Mar 15, 2014 at 7:11 AM, Russell Keith-Magee
> wrote:
On
On Thu, Mar 20, 2014 at 6:50 PM, Venkatraman S wrote:
>
> On Sat, Mar 15, 2014 at 7:11 AM, Russell Keith-Magee <
> russ...@keith-magee.com> wrote:
>
>>
>> On Sat, Mar 15, 2014 at 7:19 AM, Jonathan Baker <
>> jonathandavidba...@gmail.com> wrote:
>>
>>> Does that mean that the
I am trying to create the project described by the Django Tutorials.
However, I have reached a problem that I am stuck on after implementing
the voting forms described in tutorial 4
(https://docs.djangoproject.com/en/1.6/intro/tutorial04/). When I run my
website and go to the
Hello All.
I wanted to ask anyone who can help me with two issues.
First off, i am using goeodjango to upload a shape file of new york state
to my admin page.
Next i wanted to add a layer on top of that file that has locations for
movies, restaurants, etc ON TOP of the file i have.
Is it
Hey Django Community!
I'm newer to programming and was pointed in the direction of django for
this project.
The idea is that people can make their own custom queries and download load
it from my db.
So far I'm thinking that using a form is they way to go to accept this
information. But from
Tom,
In addition it still doesn't explain why I am unable to traceback the point
of exception.
How can there be an exception when the only thing there are are few perfect
prints
I am always invariably getting the
"Validation completed print"
for desig_name field.
Then I get
"BaseForm:
Hi Tom,
I did try an override meanwhile.
I added,
def initialize_designation(self):
print("Initializing designation")
self.desig_group = forms.ChoiceField(choices=choice_des())
return
to my form class.
This will override the desig_group that is previously declared.
I call this in the view after
суббота, 21 декабря 2013 г., 15:50:15 UTC+4 пользователь
vinaya...@iiitd.ac.in написал:
>
> Also, from initial tests it appears that django-guardian is not setting
> permissions with custom user. I wrote a small manage.py script to test that:
>
> from django.core.management.base import
Are you building your own authentication system as a learning opportunity
or to actually use in a production system? If it is for a production system
then...don't. There is quite a bit of code in django Users to handle
passwords and keep passwords safe and authentication secure.
If you want to
If you are using stock User accounts why are you writing a login view? Just
use
django.contrib.auth.views.login
You can pass it your own template in the url definition
url(r'^login/$', 'django.contrib.auth.views.login', {'template_name':
'login.html'}, name='login' )
On Wednesday, March
On Thu, Mar 20, 2014 at 3:46 PM, Roman Valls Guimerà wrote:
> At http://incf.org, we launched a Stackoverflow-like website to engage the
>
> neuroscientific community:
>
> http://neurostars.org
>
>
>
Just curious : Is this based on askbot? Or did you develop the whole thing?
You need to have sessions if you want login so you can tie a browser to a user,
and the CSRF is tied to the session cookie.
F.
On Mar 20, 2014, at 11:28 AM, Aryak Sengupta wrote:
> Alright... Thanks a lot. But do I really require using sessions for
>
Alright... Thanks a lot. But do I really require using sessions for
implementing this simple functionality ... Or is it just a bad design that
I had been trying?
On 20 Mar 2014 20:28, "François Schiettecatte"
wrote:
> See
See https://docs.djangoproject.com/en/1.6/topics/http/sessions/
On Mar 20, 2014, at 10:50 AM, Aryak Sengupta wrote:
> Can you please elaborate
>
> On 20 Mar 2014 20:17, "François Schiettecatte"
> wrote:
> You may be missing some
Can you please elaborate
On 20 Mar 2014 20:17, "François Schiettecatte"
wrote:
> You may be missing some middleware, eg:
>
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
>
>
You may be missing some middleware, eg:
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.sessions',
Maybe your browser is rejecting cookies.
François
On Mar 20, 2014, at 10:43 AM, Aryak Sengupta
Yes I do Where am I going wrong then?
On 20 Mar 2014 20:06, "Robin Lery" wrote:
> do you have {% csrf_token % } in your forms?
>
>
> On Thu, Mar 20, 2014 at 7:36 PM, Aryak Sengupta
> wrote:
>
>> I am new to Django (but not new to python) and I
do you have {% csrf_token % } in your forms?
On Thu, Mar 20, 2014 at 7:36 PM, Aryak Sengupta wrote:
> I am new to Django (but not new to python) and I am looking forward to
> create a customized page using django. I have read about django's inbuilt
> authentication
Hello Django users,
>From django-developers mailing list I have been told that list is more
>appropiate for
this type of announcement... so here I go, sorry if it bothers you.
At http://incf.org, we launched a Stackoverflow-like website to engage the
neuroscientific community:
I am new to Django (but not new to python) and I am looking forward to
create a customized page using django. I have read about django's inbuilt
authentication system but I want build it from scratch So here are the few
ideas I am stumbling upon :
1. Creating a *users* class in the
On Thu, Mar 20, 2014 at 4:12 PM, Venkatraman S wrote:
> Add the required view to redirect once this button is clicked.
Will the data be saved into database with this method?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy:
On Thu, Mar 20, 2014 at 10:12 AM, sashank reddy
wrote:
> Hi Tom,
>
> I have not understood what you have said. Shouldn't choice_desig be called
> every time I instantiate it in the view with the form = New_user_form(). I
> thought I was creating an object of
On Sat, Mar 15, 2014 at 7:11 AM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
>
> On Sat, Mar 15, 2014 at 7:19 AM, Jonathan Baker <
> jonathandavidba...@gmail.com> wrote:
>
>> Does that mean that the default="" functionality is implemented by the
>> ORM, instead of in the database layer?
Add the required view to redirect once this button is clicked.
-Venkat
On Thu, Mar 20, 2014 at 9:18 AM, Harjot Mann wrote:
> I have a form in my app and after entering data into that form I
> submit that form but I want an another submit button like "Submit and
> Add
I cannot see the screenshot, but two things:
1. Why GET? :-/
2. Did you check if the users are 'active'? i.e, active flag set?
-Venkat
On Thu, Mar 20, 2014 at 1:51 AM, Don Fox wrote:
> My project has two superusers who have access to the Django Administration
> and who
Hi Tom,
I have not understood what you have said. Shouldn't choice_desig be called
every time I instantiate it in the view with the form = New_user_form(). I
thought I was creating an object of New_user_form every time I do that.
Regards,
Preetam
On Wednesday, 19 March 2014 22:11:52 UTC+5:30,
30 matches
Mail list logo