Re: How to use django Cooment framework

2013-01-28 Thread Sarfraz ahmad
can someoe give me some hints to attach multiple answers with a question field On Tue, Jan 29, 2013 at 10:17 AM, Sarfraz ahmad wrote: > yes, i read the docs bt looking for an example which shows how can > comments to be assigned to an object > > > On Mon, Jan 28, 2013 at

Re: how to use django password reset

2013-01-28 Thread Sarfraz ahmad
thanx Bill, it gives me idea how password reset works in django On Tue, Jan 29, 2013 at 12:13 AM, Bill Freeman wrote: > Assuming that you are talking about the registered user's ability to set a > new password after forgetting the old password: > > The Django installation

Re: How to use django Cooment framework

2013-01-28 Thread Sarfraz ahmad
yes, i read the docs bt looking for an example which shows how can comments to be assigned to an object On Mon, Jan 28, 2013 at 10:49 PM, carlos wrote: > Hi you read the doc. > > https://docs.djangoproject.com/en/dev/ref/contrib/comments/ > >

Re: Missing files on a new project

2013-01-28 Thread Ricardo Diaz
Well, i'm following a video tutorial -> this guy is using Django 1.4 and when he uses startmanager on shell Django creates all of those files on the main folder. Check it about 3:11 https://www.youtube.com/watch?v=fVNL5MwskiQ That is the reason why I'm asking for help. -- You received this

Unicode/Non-ASCII characters in the admin throws exception

2013-01-28 Thread Thomas Weholt
This is a recurring problem for django users obviously by the amount of posts returned by google and I've had this problem in the past as well, but cannot remember how I got around it. Googling did'nt help either. When I use Norweian characters like ØÆÅ in CharField-field in the django admin I

Jython + Django on JBoss

2013-01-28 Thread Milind
Has anyone used Jython and Django and used it in full JavaEE applications like JBoss? If so I would like to know how painfull/easy is it to set it up. Also some info about its performance in production would be great. Thanks, Sent from my IPhone -- You received this message because you are

Re: how to use django password reset

2013-01-28 Thread Bill Freeman
Assuming that you are talking about the registered user's ability to set a new password after forgetting the old password: The Django installation must be configured to be able to send E-mail The user must have a valid E-mail address stored in his User object The forgotten password page

Re: How to use django Cooment framework

2013-01-28 Thread carlos
Hi you read the doc. https://docs.djangoproject.com/en/dev/ref/contrib/comments/ https://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/ :) On Mon, Jan 28, 2013 at 11:13 AM, Sarfraz ahmad wrote: > good evening friends > > i m a new django user, i want to

How to use django Cooment framework

2013-01-28 Thread Sarfraz ahmad
good evening friends i m a new django user, i want to implement comment framework in my app.. please help me and tell me that how can i use django comment framework to assign comments with an object.. in my view i want to ask questions from users which can have multiple

Re: PHP vs Django

2013-01-28 Thread carlos
Hi man learn both or not more lenguages: python,ruby,php,javascript and them framework Django, ruby on rails, symfony2,nodejs, etc etc. Not only one XD Cheers :) On Sun, Jan 27, 2013 at 9:58 PM, Edwin Lunando wrote: > Although, your question is out of topic, let me

how to use django password reset

2013-01-28 Thread Sarfraz ahmad
How can i use django password reset method unable to understand the django documentation about password reset. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To

Re: How Django sends push notifications.

2013-01-28 Thread Chen Xu
Thanks for the info, pyapns looks pretty nice, I am wondering what are the top python notification third party libraries in market, I mean the most used. Thanks On Mon, Jan 28, 2013 at 1:32 AM, Pankaj Singh wrote: > On 00:39 -0500 / 28 Jan, Chen Xu wrote: > > I am recently

Identify what management command is being executed

2013-01-28 Thread Ali
In my django project I have written some custom management commands which run on the server. These custom commands in turn call different functions during execution. I want a way to set a global variable/field or a way to find out what command is being executed. One obvious usage is write log

Re: Model user with pk 1L does not exist at Admin

2013-01-28 Thread Bill Freeman
What python version are you using, and with what django version. Also, please show an example of what code you are using/typing to update/add a group. On Sun, Jan 27, 2013 at 10:40 PM, Edwin Lunando wrote: > Here is my model: > > class UserSIMS(models.Model): >

Re: Problem configuring Django 1.5b2 with PostGIS 2.0

2013-01-28 Thread victoria
On Fri, Jan 25, 2013 at 5:38 AM, Joe Jasinski wrote: > I've been experiencing the same issue on OSX 10.8.2. > > $ ./manage.py shell > > ImproperlyConfigured: Could not import user-defined GEOMETRY_BACKEND > "geos". > > I've installed Postgresapp

Make the prepopulated slug field as readonly in Django Admin

2013-01-28 Thread Meenakshi
I want to make the slug field as read_only depending on the other field value like "lock_slug". Means There will be Two conditions. 1) When value of "lock_slug" is false then the slug field directly prepopulated from the field "title". prepopulated_fields = {"slug": ("title",),} 2) When

Re: initial argument in forms not working for me

2013-01-28 Thread Tim Akinbo
The initial parameter should be in the CharField method and not RadioSelect like you've specified it. Cheers. On Jan 28, 2013 6:35 AM, "Nikhil Verma" wrote: > Hi > > I am using django 1.4.3 and have a field in form > > > PROFILE_TYPE = ( > ('public',

Re: how can i prevent a user from viewin a page without using the django @login decorator

2013-01-28 Thread Tim Akinbo
Hi Emmanuel, Also in a similar thought like Siddharth mentioned, what is your definition of valid credentials? If valid credentials means a username and password, then you will need to use sessions to check if the user is authenticated. Basically you store a value in the session when

image browsing from a textfield

2013-01-28 Thread Wim Feijen
Hello, For an e-learning app in development, we want editors to be able to edit html (TextField) within our app (not the admin), and insert formatted text, images and (Vimeo) video in there. At the moment, I am looking into using TinyMCE (django-tinymce) combined with django-filebrowser.

Re: Polls tutorial receive object not object representation

2013-01-28 Thread James Schneider
On Jan 27, 2013 5:58 PM, "Sayth Renshaw" wrote: > > Hi > > Just seeking a little clarification. > > In the Polls tutorial we get this section. > > >>> p = Poll.objects.get(pk=1) > > # Display any choices from the related object set -- none so far. > >>> p.choice_set.all()

Re: how can i prevent a user from viewin a page without using the django @login decorator

2013-01-28 Thread Siddharth Ghumre
Hi Are you storing the user data in some database table? If yes, then you can search for the logged in user with the user data present in database table. If you dont find a match then you can send to some error page or re-login page. -Siddharth On Mon, Jan 28, 2013 at 8:32 AM, Okorie Emmanuel

Re: initial argument in forms not working for me

2013-01-28 Thread Sergiy Khohlov
I'm using dynamic initialization for this case . I've written a post in my blog about this long time ago : http://skhohlov.blogspot.com/2012/04/passing-values-from-view-to-form.html Many thanks, Serge +380 636150445 skype: skhohlov 2013/1/28 Nikhil Verma : > Sorry