Re: Advice needed: Adaptive/Responsive Images in Django?

2014-11-20 Thread Alex Strickland
On 2014-11-20 08:05 AM, ThomasTheDjangoFan wrote: do you have a tip for implementing adaptive (responsive) images in django? Basically I want to server smaller images to mobile-users and bigger images to desktop users. I don't really now about best practices for SEO and Siteload-Performance. A

Re: Commercial Django e-commerce products

2014-01-29 Thread Alex Strickland
On 2014-01-28 03:39 PM, Alex Strickland wrote: Can anyone suggest any commercial Django e-commerce products? Thanks for the responses - rather thin on the ground compared to the PHP space :( . -- Regards Alex -- You received this message because you are subscribed to the Google Groups

Commercial Django e-commerce products

2014-01-28 Thread Alex Strickland
Hi Can anyone suggest any commercial Django e-commerce products? -- Regards Alex -- 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...@googl

Re: Unofficial Kindle builds of the Django documentation

2014-01-17 Thread Alex Strickland
Hi Markus I've done .mobi builds of the Django documentation so you can read it on a Kindle: Cool! Thanks. Will check it out. -- Regards Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: User names not support Unicode in 1.5

2013-10-30 Thread Alex Strickland
On 2013-10-30 04:49 PM, tim wrote: See https://code.djangoproject.com/ticket/20694 for a discussion of this. In summary: "[Allowing unicode in user names] would be considered a regression for anyone who relies on Django to validate that usernames are ASCII-only. A custom user model (introduced

Re: PyCons in Africa

2013-10-08 Thread Alex Strickland
On 2013-10-04 06:13 PM, Daniele Procida wrote: First of all, apologies if you have to read this more than once because of the cross-posting. I've had an idea brewing recently. I went to meet Professor Judith Hall this afternoon to talk about it. She's involved with http://medicine.cardiff.ac

Re: Django Celery w/ Amazon RDS and Memcached

2013-05-21 Thread Alex Strickland
On 2013/05/21 02:38 PM, Joey Espinosa wrote: Nevermind, everyone. Turned out to be simply my fault (had a shell connection to the database open). *facepalm* At the risk of embarrassing myself even more than you were, why is that a problem? -- Regards Alex -- You received this message bec

URL_VALIDATOR_USER_AGENT

2012-11-25 Thread Alex Strickland
Hi According to : https://docs.djangoproject.com/en/dev/ref/settings/ URL_VALIDATOR_USER_AGENT is deprecated in 1.5. But it's actually been removed. Is that worth a bug report? -- Regards Alex -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Choosing a JS framework to go together with Django

2012-09-04 Thread Alex Strickland
On 2012/09/04 03:39 PM, dotnetCarpenter wrote: I'm new here and just took over a Django project for the first time. I'm still getting to grip with Django but as a front end dev for the past 5 years, I'm also looking for a client-side library/framework to go together with my project. AngularJS

Re: Django-tables2

2012-08-23 Thread Alex Strickland
On 2012/08/24 01:49 AM, MattDale wrote: I love django-tables2! May I ask why? I'm not trolling, I'd like to know more about it. -- Regards Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-user

Re: Issue Deploying Django

2012-08-02 Thread Alex Strickland
On 2012/08/02 05:42 PM, Kurtis Mullins wrote: I'd recommend another host. There's many issues you may run into with using a shared hosting provider that doesn't explicitly support Django. The best option (in my opinion) is to just get a cheap Cloud Server if you're up for the task of managing th

Re: Variable # of fields in a form

2012-07-30 Thread Alex Strickland
On 2012/07/25 12:41 PM, Daniel Roseman wrote: You could probably subclass the CheckboxSelectMultiple widget and override the `render` method to get what you want. See the original code here: https://github.com/django/django/blob/master/django/forms/widgets.py#L749 unfortunately you'll need to c

Re: Variable # of fields in a form

2012-07-30 Thread Alex Strickland
Hi Doug Then you can just output them in your layout {{form.internal}} and {{form.external}} Thought I'd better reply as while I work out what I am doing I probably look rather rude. Internal/external was just an example, there may be many more groups. Another thing that might be of inter

Re: Variable # of fields in a form

2012-07-25 Thread Alex Strickland
On 2012/07/23 03:08 PM, Alex Strickland wrote: https://docs.djangoproject.com/en/dev/topics/forms/formsets/ ? No. This is my html that shows a nice looking control using bootstrap, with lists of users broken up into their groups: {% for group in group_list

Re: Variable # of fields in a form

2012-07-23 Thread Alex Strickland
On 2012/07/23 02:29 PM, Alex Strickland wrote: Thank you Daniel. I have done this and see that it answers my question (that HTML output is pretty ugly!). In Bootstrap I have used an accordion so that the the categories are grouped: Internal x Evan x Joe External x Alex where

Re: Variable # of fields in a form

2012-07-23 Thread Alex Strickland
On 2012/07/20 01:37 PM, Daniel Roseman wrote: You don't want a variable number of fields, you just want a single MultipleChoiceField field using a CheckboxSelectMultiple widget. https://docs.djangoproject.com/en/1.4/ref/forms/fields/#multiplechoicefield https://docs.djangoproject.com/en/1.4/ref

Variable # of fields in a form

2012-07-20 Thread Alex Strickland
Hi I am generating a page with a variable list of categories (shown in a Bootstrap accordion control) displayed as checkboxes. So a user may select any or all of the checkboxes to categorise an article. I did that just as a wireframe/demo. Trouble is I didn't think how that might work with D

Re: Nested querysets or a smarter template?

2012-07-16 Thread Alex Strickland
On 2012/07/16 11:28 AM, Alex Strickland wrote: I am new to Django and a bit lost at sea. I want to use Bootstrap and their accordion control. I have these models: Write a request for help, and then you'll work it out pretty soon after: {% for group in group

Nested querysets or a smarter template?

2012-07-16 Thread Alex Strickland
Hi all I am new to Django and a bit lost at sea. I want to use Bootstrap and their accordion control. I have these models: class Research_Category_Group(models.Model): name = models.CharField(max_length=40) class Meta: ordering = ["name"] class Research