input of one select box into another

2012-01-07 Thread inzaghi
I have a form with two select boxes. the input of one will be used to determine what gets loaded in the other. In essence the second select box could have data populated into it from different models. 1 how would I do this ? and 2.How would I accomplish this without reloading the page ? -- You r

Django admin date and time picker not working

2012-01-07 Thread Santiago Ingold
I'm following the 4 part tutorial at djangoproject.com. In the 2nd part of it (https://docs.djangoproject.com/en/1.3/intro/ tutorial02/) im configuring the admin interface, it works fine, except for the fact that date and time javascript pickers does not appear. I've been following the tutorial s

Re: Cheap Django hosting?

2012-01-07 Thread profDjango
Hi you can check http://freedjangohosting.com for free and paid django hosting Thanks -- 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/-/ZUlNyH_Ya0IJ. To p

Help

2012-01-07 Thread coded kid
Hi guys, please I need your help. I've been trying all my best for the past 4days in order to get django-socialauth working but still no success. No django social packages I haven't tried. I've downloaded up to 10 different social packages but none is working. Though out of those 10 some fail to in

Re: many-to-many queryset question

2012-01-07 Thread Carsten Fuchs
Hi Peter, Am 2012-01-07 03:40, schrieb Peter of the Norse: One possibility is to try two excludes. bad_authors = Authors.objects.exclude(pk__in=SetOfAuthors) qs = Entry.objects.exclude(authors__in=bad_authors) This will return all entries that don't have authors in SetOfAuthors. It might even

Re: Help

2012-01-07 Thread Praveen Krishna R
*I have not tried any of these social auth apps myself. Yet if you want help with any of those packages which you tried, then you can can dump the detail error log or whatever here and get some help. It could be some version compatibility issues or similiar, for which there may exist some fixes.* *

Copying and Writing EXIF information from one file to another

2012-01-07 Thread Swaroop Shankar V
Hi, Am trying to copy the exif information to the resized image of the same image using pyexiv2. Searching for a solution i stumbled upon a post in Stack Overflow. It looks like the api's used in the function

Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Swaroop Shankar V
hello All, Am trying to build somewhat like an activity stream for my web application. Since its not exactly similar to the normal activity streams found in facebook I am not able to use any of the existing django activity stream projects like django-activity-stream in my application. So I am build

Re: Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Anoop Thomas Mathew
Hi, Try this https://github.com/agiliq/django-pubsub/ You can get a live demo here http://chat.agiliq.com/pubsub/. See if this suits your purpose. Thanks, Anoop Thomas Mathew atm ___ Life is short, Live it hard. On 7 January 2012 19:34, Swaroop Shankar V wrote: > hello All, > Am trying to bu

Re: Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Swaroop Shankar V
Thanks Anoop for those links, but it is not exactly what I require and also the overhead of xmpp server is also there. Well all i require is to know is how i can create an entry in the tables created by the commenting framework through an API if available. Thanks and Regards, Swaroop Shankar V

Re: Is the django coummity converging on a preferred REST API package?

2012-01-07 Thread David Harks
While I can't really comment on the thoughts of the Django team itself (for inclusion in Django proper), I will suggest that aside from Tastypie the other 'best-of-breed' REST framework is the simply-named Django REST Framework: http://django-rest-framework.org/. As opposed to Tastypie, it has

Re: input of one select box into another

2012-01-07 Thread Weldan
I am looking for same answer. Currently this is what i was doing: 1. load javascript into form page 2. for each select box, call ajax to return next select box value example: 1. form loaded, select box 1 has values 2. user choose values from select box 1, get select box 2 values with select box

Re: Help

2012-01-07 Thread coded kid
Thanks for the reply. I'm testing socialregistration package now. But I'm getting ImportError: socialregistration/template/facebook_tags. Can't import _https. Please help me out. On Jan 7, 12:47 pm, Praveen Krishna R wrote: > *I have not tried any of these social auth apps myself. Yet if you wan

Re: Is the django coummity converging on a preferred REST API package?

2012-01-07 Thread sbrandt
Thumbs up for Django REST framework. While being younger than tastypie and piston, it has some more cool features besides the mentioned creation of doc above. It also creates a HTML debug interface for every resource and follows the class based views and form validation paradigms of django making

Re: Testing Error Pages

2012-01-07 Thread Karen Tracey
On Wed, Jan 4, 2012 at 11:40 AM, Colin wrote: > What's the best way to go about testing them please? > https://docs.djangoproject.com/en/1.3/ref/contrib/staticfiles/#django-admin-option---insecure Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the

Re: Is the django coummity converging on a preferred REST API package?

2012-01-07 Thread JohnA
Thanks for the comments. The developer-friendly features of Django REST framework sound very interesting. I will definitely check it out. On Jan 7, 10:29 am, sbrandt wrote: > Thumbs up for Django REST framework. While being younger than tastypie > and piston, it has some more cool features besi

Authentication over JSON

2012-01-07 Thread Kevin Anthony
I have a small exposed json API, currently it doesn't require authentication, but i'd like to integrate it with django's authentication. A quick google search came up empty, and i was wondering if anyone had any recommendations on how to do this? -- Thanks Kevin Anthony www.NoSideRacing.com Do

Re: input of one select box into another

2012-01-07 Thread Bjorn Meyer
Take a look at the dajaxproject. http://www.dajaxproject.com/ That may be what you are looking for. On January 7, 2012 05:40:24 Weldan wrote: > I am looking for same answer. > > Currently this is what i was doing: > > 1. load javascript into form page > 2. for each select box, call ajax to retu

Re: Authentication over JSON

2012-01-07 Thread Michael Elkins
On Sat, Jan 07, 2012 at 11:52:26AM -0500, Kevin Anthony wrote: I have a small exposed json API, currently it doesn't require authentication, but i'd like to integrate it with django's authentication. A quick google search came up empty, and i was wondering if anyone had any recommendations on how

Re: Url rewrite for search engines

2012-01-07 Thread francescortiz
For example, in urls.py: ('^entry/?P(.*)/', 'entry'), and in your models you have an slug field On Jan 7, 1:13 am, Lie Ryan wrote: > On 01/07/2012 11:04 AM, Barış Bilgiç wrote: > > > Hi, > > > I am looking for how to implement URL rewrite in Django which is > > explained inhttp://en.wikipedia.o

Re: Correct folder layout for a big Django application

2012-01-07 Thread IgorS
Thank you, yati. Thank you Waldek. Your responses are much appreciated. It seems that my question was not clear. This is all my fault. I was searching for some sort of "the most recommended" or "optimal" folder layout INSIDE the application folder. In other words, a layout where all the code, sett

Automatic Client side validation for django forms

2012-01-07 Thread Karthik Abinav
Hi, I was wondering if there exists some in-built AJAX validation on the form fields at the client side in django libraries. The form contains commonly used fields which are mostly alpha-numeric. Thanks, Karthik Abinav, 2nd year B.Tech Dept. of Computer Science and Engineering Indian Insti

particular permission

2012-01-07 Thread mirco fini
hi! I would like to create a site where the user can read just database records written by him or by his group. Anybody knows how can I obtain that? thanks a lot Mirco -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: Automatic Client side validation for django forms

2012-01-07 Thread yati sagade
Why not use plain JS to validate at client side. And while dealing with things like registration names(which may require the db) go for Dajax - http://www.dajaxproject.com/ On Sat, Jan 7, 2012 at 11:48 PM, Karthik Abinav wrote: > Hi, > >I was wondering if there exists some in-built AJAX valid

Directory layout for a large Django application (not project)

2012-01-07 Thread IgorS
Can someone recommend “the optimal” directory layout INSIDE the application’s root directory for a large application. The question is about one application only, not the whole project. I am looking for a layout where all the code, settings, static stuff (images, css, js), etc. relating to this par

csrf middleware uses only request.POST query dict during csrf check, and not request.raw_post_data

2012-01-07 Thread Bhaskar
I have two django apps in my django website: app1: set of views (REST apis): - sends empty response with csrf cookie set for GET requests - accept JSON string as input for POST requests and do some business operations app2: set of views (django UI client which consumes apis from app1): - accep

Is models.DateTime timezone aware ?

2012-01-07 Thread Matěj Cepl
I have in my first Django app this model (selection): class Post(models.Model): # ... updated = models.DateTimeField(default=datetime.datetime.now()) published = models.DateTimeField(blank=True) When looking at the database dump of the generated database I see that the date is saved

Jade Templating Engine

2012-01-07 Thread bluesolver
Has anyone tried using the Jade templating engine with Django? They have written a library called PyJade on Github, and they seem to have worked in some Django integration. I was just curious if anyone had taken the plunge and actually used it. Cheer, Brad -- You received this message becaus

Problem getting django on mac (10.5/Leopard) working

2012-01-07 Thread larry.mart...@gmail.com
I am trying to get django working on my mac. I downloaded it from SVN to /usr/local/django-trunk and it's there: $ ls /usr/local/django-trunk/ __init__.py corehttptemplatetags bin db middleware test confdispatch

Re: Problem getting django on mac (10.5/Leopard) working

2012-01-07 Thread David Markey
Is there a reason you didnt do easy_install django? On 8 January 2012 01:50, larry.mart...@gmail.com wrote: > I am trying to get django working on my mac. I downloaded it from SVN > to /usr/local/django-trunk and it's there: > > $ ls /usr/local/django-trunk/ > __init__.py corehttp

Re: Problem getting django on mac (10.5/Leopard) working

2012-01-07 Thread larry.mart...@gmail.com
On Jan 7, 7:03 pm, David Markey wrote: > Is there a reason you didnt do easy_install django? Cause I didn't know about it. I just followed the directions I found at: https://docs.djangoproject.com/en/dev/topics/install/ Is there some reason that wouldn't work? > > On 8 January 2012 01:50, lar

Since Django has its own database schema, can we still use sqlalchemy instead?

2012-01-07 Thread Chen Xu
Hi, everyone: Since Django has its own database schema, can we still use sqlalchemy instead? Thanks very much Best regards -- ⚡ Chen Xu ⚡ -- 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@g

Socialregistration help

2012-01-07 Thread coded kid
I'm trying to make socialregistration package work. But I'm getting ImportError: socialregistration/template/facebook_tags. Can't import _https. Please help me out. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Joining Tables

2012-01-07 Thread Swaroop Shankar V
Hi, I got a models which is as follows: class Photos(models.Model): """ This model will enable the users to upload photos """ user = models.ForeignKey(User) title = models.CharField(_('Title'), max_length=250, null = True, blank = True) description = models.TextField(_('Des