io/index.php')
c = 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]
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@google
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 t
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?
Th
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 message because you are
dChild(document.createTextNode(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 e
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
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
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 dja
for county in counties:
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 s
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,
of your
element:
/* by class */
.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&
me',)
ordering = ('profile_name',)
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
-~
--
Yo
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
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 rec
> 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@google
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 receiv
/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
-~
--
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.
To
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
20 matches
Mail list logo