Re: django form converter to PDF

2016-10-03 Thread Walt
You can also check out the Python wrapper for pdftk. https://github.com/revolunet/pypdftk It allows you to take a pdf form and fill it dynamically and "flatten" it. Aside from that, Weasyprint also works pretty well. Walt On Monday, October 3, 2016 at 8:05:43 AM UTC-4, M Ha

Re: Looking for a good Document Management System (DMS) to plug into my Django app

2011-10-18 Thread Walt
You should check out integrating with the Box.net API. I've written a number of applications for their site. They support previews of most common file types. Feel free to contact me directly if you want to see some simple code examples -- tufelkinder (at) gmail (dot) com Walt -- You received

Re: New python, django user... having issues

2011-04-16 Thread Walt
I think you're hijacking this thread, yes? Can you submit all the code for the models, please? Perhaps start a new thread... -- 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.

Re: New python, django user... having issues

2011-04-16 Thread Walt
/django/trunk/ Add python's bin to your path, add django-admin.py to your path and you should be good to go. The reason for using 2.5 is that mod_python or windows and the MySQL Python connector only support that version, at least as far as I have been able to find. Good luck, Walt -~ -- You

Re: 'Context' object has no attribute 'render_context'

2011-04-16 Thread Walt
I'm not sure I know why your code is misbehaving, but any particular reason you aren't using render_to_response instead of template/context rendering? http://docs.djangoproject.com/en/dev/topics/http/shortcuts/#render-to-response It's much simpler! Walt -~ -- You received this message

Re: Using request.GET and having issues

2011-04-16 Thread Walt
> searchterm = request.GET['q'] Shouldn't this be: request.GET.get('q','') Walt -~ -- 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 unsubscribe from thi

Re: formfield_for_foreignkey: how to know if we are modifyng an entry

2010-06-27 Thread Walt
I'm not sure if it works in this context but have you tried self.instance.id? Walt -~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this g

Re: Problems with model with optional FileField in Admin

2010-04-06 Thread Walt
Did you also specify null=True? Walt -~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-user

Re: Is it possible to change the width of the boxes displayed by the filter_horizontal in Django admin interface?

2010-03-26 Thread Walt
',) filter_horizontal = ('profile_test',) class Media: css = { 'all':('/media/css/bisite.css',) } Does that make more sense? Again, I apologize for the miscommunication! Thanks, Walt -~ -- You received this message because you are subscribed to the Google Groups "D

Re: Is it possible to change the width of the boxes displayed by the filter_horizontal in Django admin interface?

2010-03-23 Thread Walt
*/ .filtered { width: 350px; } /* or by object id */ #id_yourfieldname_from { width: 350px; } #id_yourfieldname_to { width: 350px; } This should work. :-) Walt -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Need limit_choices_to help

2010-03-20 Thread Walt
Is this the type of solution you have in mind? http://tinyurl.com/yaqjfx4 Walt -~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group,

Re: limit_choices_to a value on a field in the same model

2010-03-14 Thread Walt
: county_choices.append((county.id, county.name)) county_field.choices = county_choices Then in admin.py, make sure you have: class AgencyAdmin(admin.ModelAdmin): form = AgencyForm Hope this helps, Walt -~ -- You received this message because you are subscribed to the Google Groups

Defining the queryset admin pages use for ForeignKey or ManyToMany fields

2010-01-28 Thread Walt
d be nice to be able to specify the queryset for ForeignKey fields in a form without completely recreating the admin form pages. Thanks! Walt -~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Admin calendar popups on datefield suddenly missing

2010-01-21 Thread Walt
Okay... The latest release of django that I downloaded has this: A previous version that is currently working is this: How can I modify or specify that path? And why would it have changed? Thanks, Walt -~ -- You received this message because you are subscribed to the Google Groups "D

Re: Admin calendar popups on datefield suddenly missing

2010-01-21 Thread Walt
That line is there, but for some reason *that* is the broken link! That at least gives me something to track down... Thank you for your help! Walt -~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Admin calendar popups on datefield suddenly missing

2010-01-21 Thread Walt
(gettext ('Today')));] Any ideas? Walt -~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@google

Re: Admin calendar popups on datefield suddenly missing

2010-01-21 Thread Walt
yMCE on the app at all, secondly, the problem happens across all browsers, and third the code to display the date picker isn't even present in the source HTML for the admin pages, so I think something happened server-side to turn that feature off. Thanks! Walt -~ -- You received this mess

Admin calendar popups on datefield suddenly missing

2010-01-21 Thread Walt
Hi all, I don't know of any changes I've made recently other than checking out the latest django code but the date picker / popup on all admin datefields has suddenly disappeared. Any clues as to how to get this back or what might have caused it to disappear in the first place? Thanks, Walt

Re: referencing a specific item in a list...

2009-04-09 Thread Walt
t it would be a list, not a method or attribute lookup... Thanks again! Walt -~ --~--~-~--~~~---~--~~ 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@googlegroup

referencing a specific item in a list...

2009-04-09 Thread Walt
= Context({ 'project_list' : project_list, }) Now, in my template file I want to be able reference the six different elements in the list directly, without having to loop through them. How can I do this? I've tried project_list[1] but that just errors out. Thanks, Walt