Can I test for count of a many to many field, in a Q query, along with other filters?

2018-01-16 Thread Mark London
If I'm creating a query using Q, can I make one of Q tests, be a count of a manytomany field?I.e., one of the Q filters, should test to see if a specific manytomany field, has a count greater than 5, I know that I can use annotate to test for count. But can annotate be specified within a

Django module for a tag input field on a user form, with autocomplete & automatic adding new tags?

2017-02-25 Thread Mark London
browser to hang. I have looked at the alternatives, but either they are mainly designed to be used by the admin module, or the documentation for implementation is very sparse, without a real hardcoded demo, which is included with the tagulous package. Can anyone help me out? Thanks very much! Mark

Re: Need example of how to use a select2 widget for a manytomanyfield in django.

2015-11-10 Thread Mark London
I just discovered django-select2-forms. It does exactly what I want, very simple to implement. On Tuesday, November 10, 2015 at 5:08:46 PM UTC-5, Mark London wrote: > > I want to use a select2 widget to a manytomanyfield in django. There are > several django-select2 modules

Need example of how to use a select2 widget for a manytomanyfield in django.

2015-11-10 Thread Mark London
I want to use a select2 widget to a manytomanyfield in django. There are several django-select2 modules, but the documentation on all of them is confusing. Can someone point me to a simple example of how to use a select2 widget for a manytomanyfield? Thanks. - Mark -- You received this m

Django, Bootstrap Tags input, and Typeahead?

2015-10-13 Thread Mark London
What is the easiest way to implement a django field with bootstrap and typeahead? I found a module calleddjango-bootstrap-typeahead that looks exactly what I want. The instructions sa

Re: Adding manytomany field, like "days of the week".

2013-04-09 Thread Mark London
Thanks for the response. I had read about fixtures, but then people were saying that fixtures wasn't the best way to initialize the model, but they didn't give the alternative! Next time, I won't listen to opinions, but will use code that actually works. - Mark -- You received this message

Adding manytomany field, like "days of the week".

2013-04-09 Thread Mark London
Hi - I'm a django newbie, so sorry if I'm doing something stupid (I did try to read the documentation. I want to have a model, that has a manytomany field that stores days of the week, selected via a checkbox widget. I read on the web, that I could put something like this in the model. DAYS_O

Re: I need a form that allows users to select from a list of choices, or add a new choice.

2013-02-28 Thread Mark London
Great. Thanks very much! On Wednesday, February 27, 2013 6:13:05 PM UTC-5, Rainy wrote: > > > > > On Wednesday, February 27, 2013 11:28:50 AM UTC-5, Mark London wrote: >> >> I need a widget or a method that allows users to select items from a list >> of choice

I need a form that allows users to select from a list of choices, or add a new choice.

2013-02-27 Thread Mark London
I need a widget or a method that allows users to select items from a list of choices, or add a new choice. Someone on stackoverflow asked the same question, and got a kludgy answer: http://stackoverflow.com/questions/14802167/how-do-i-make-a-django-choicefield-accept-both-preset-choices-and-th

Task/project management open source django application?

2012-12-28 Thread Mark London
Hi - I'm looking for an open source project/task management system, based on django. Something like this one: http://birdhouse.org/software/2008/09/django-todo/ Are there any others out there like this? Thanks. - Mark -- You received this message because you are subscribed to the Google G