Re: Translation is not working for Template even though po and mo files are created

2015-11-01 Thread Sean Xu
Sorry, ~/django-swingtime/django-swingtime-master/demo should be the project path where project level translation files were generated under ~/django-swingtime/django-swingtime-master/demo/locale. The project level locale files should also be recognized, right? The application path should be

jquery and django template

2015-11-01 Thread varun naganathan
I basically have the database entries in the namespace of my template.I basically need to get the filter i want to apply on the databse entry using data available from user selection(using jquery).Any suggestions on how i can achieve this? -- You received this message because you are

Jquery and templates

2015-11-01 Thread varun naganathan
I basically want to run a jquery script that gets data of an html tag and then use that value to query the database.Any suggestions would be very helpful! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Wherenode?

2015-11-01 Thread varun naganathan
thanks a lot! On Wednesday, October 28, 2015 at 11:09:27 PM UTC+5:30, Tim Graham wrote: > > GitHub has a nice feature that allows you to search a repository: > > https://github.com/django/django/search?utf8=%E2%9C%93=WhereNode > > On Wednesday, October 28, 2015 at 1:32:40 PM UTC-4, varun

model Field subclass + validation

2015-11-01 Thread Luke M
Hi folks, I asked a question on StackOverflow and I don't know if it will get any answers because it is quite specific. I would like to subclass a JSONField implementation to add some custom validation logic and don't really know where to start. I would really appreciate if anyone could help out

How do I let forms.models.ModelChoiceField.queryset relate on request.user?

2015-11-01 Thread Axel Rau
User should see only choices related to him in a ModelChoiceField. Do I need a fresh form per request? What would be the best approach? Thanks, Axel --- PGP-Key:29E99DD6 ☀ +49 160 9945 7889 ☀ computing @ chaos claudius -- You received this message because you are subscribed to the Google

Re: Django templates

2015-11-01 Thread Humphrey Butau
The templates work on any platform, try Django cookie cutter! -- 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

Django bootstrap3_datetime widget in admin site doesn't pass form data

2015-11-01 Thread Ilia
I'm trying to replace the standard AdminSplitDateTime widget in my admin site for better functionality (basically I want to display only 'available' dates in my calender which I couldn't find how to do with the default picker). I decided to use the bootstrap3_datetime widget. After overriding

Re: Translation is not working for Template even though po and mo files are created

2015-11-01 Thread Andreas Kuhne
Hi Sean, That's interesting. You shouldn't have to add the locale paths explicitly. Good that it's wokring, but as long as you put the locale files in a directory named locale under each app and also under the project, it should just work (as long as all apps are included in the config). Just