how to use HTTPS with django

2012-07-06 Thread heni yemun
Hi,
I want to know how to use HTTPS to securely login and signup a user with 
django.
I'd also like you to tell me how to attach extra information to the 
standard User object. The reference provided doesnot seem to be detailed 
enough to implement. THANK YOU!

-- 
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/-/RDB5dyVzNNcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



can't attach more info to User

2012-07-23 Thread heni yemun
Hi,
When i used to add more info to User using the method described in the 
standard specification and the inheritance method i couldnot do it. Here is 
what it says:
My addon model UserProfile is composed of char, integer, date fields. And 
when i create a user it says sth like 'column username not unique' and in 
other trials *'app_modelname*.*field *cannot be NULL*'. *It also creates a 
file *dbname-*journal. What's happening; i've setup settings.py well but 
couldnot get to work for me. THANK YOU!!!

-- 
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/-/-C_62SEKro0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



more info to the user

2012-08-14 Thread heni yemun
Hi,
I have set up a UserProfile using the technique outlined in the standard. 
What i can do give values to the fields in the user profile model. So if 
i've a city field in the UserProfile, how can i put the value 'Asmara' to 
it and save it in the database?

Second question is whenever i try to save a field it says '*fieldname*cannot be 
NULL'. What is this? THANK YOU!

-- 
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/-/kNwyJrDyyeUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



database file doesn't increase in size

2012-08-23 Thread heni yemun
Hi,
When i create a user account, fill the fields with some value and save() it 
in the database file *myfile.db* for example, the file doesn't show any 
change in size. So how do i know if i'm actually saving it and can later 
access the values?  Or is there another problem i should deal with first? 
THANK YOU!!

-- 
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/-/PAsutRO3wfwJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



how to attach comments to a User instance

2012-09-05 Thread heni yemun
Hi,
I'm having difficulty attaching comments to a User object i created. So 
walk me through the process of *attaching comments* to *displaying them*. 
THANK YOU! 

-- 
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/-/42of1bCT2H4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django's database system

2013-06-05 Thread heni yemun
Hi,
I'm starting to develop some python program to address some database needs- 
this is for desktop usage not on the web. So i was wondering if django's 
database system can be integrated to my program instead of writing the 
routing python database access api. I like django's easy interface. THANK 
YOU!

-- 
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.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




ajax and django

2013-07-26 Thread heni yemun
Hi,
I'm trying to get a django project interact with ajax based site. The 
problem is that when i use the send function to send a POST data 
asynchronously the django app returns a 500 code and the server doesn't do 
anything. How do i correct this?

-- 
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.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.