[EMAIL PROTECTED] wrote:
> I've been refactoring some stuff to use slugs, and it looks like
> FreeComment needs an object.id
>
> Is this correct or have I missed something?
>
> Derek
The FreeComment model assumes the primary key of the object it refers
to is an integer, so you can't make the
On 8/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> ... I should be able to
> capture and modify the post data, then urlencode the post values using
> urllib, but I cannot figure out how to post the form data AND redirect
> the page to the paypal URL in one shot.
I'm just about to do
http://code.google.com/p/zmaj/
is an application for Linux system administration. It's intended to be
replacement for Webmin (Yes, a big bite, I know... But I concluded
that it's easyer to write the whole application from scratch then to
learn Perl and write modules for Webmin ;)
Currently 4
Great, that looks simple.
What about the case for passing in a GET variable being passed in to
switch between media coming from localhost vs. the default MEDIA_URL,
as in case #2?
Most likely I'd grab the GET variable and store it in the session. Can
the settings reference session data, or
Ok forget this I've found the soultion..
I had a model blog.Post
But the {% free_comment_form for blog.post object.id %} should be in
lower case.
Any reason why this is so.
Cheers
Garth
--~--~-~--~~~---~--~~
You received this message because you are
It looks good, and it's BSD licensed as well..
I'm just wondering why you need to include the source of dojo in it?
wouldn't it be easier to just link to them and maintain them separately?
On 24/08/2006, at 6:43 AM, [EMAIL PROTECTED] wrote:
>
> Hi all,
>
> I put some packages for django onto
I've been refactoring some stuff to use slugs, and it looks like
FreeComment needs an object.id
Is this correct or have I missed something?
Derek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
On Aug 23, 2006, at 5:32 PM, Reinhard Knobelspies wrote:
Thanks for all your help so far everyone. So I'm still in search of
answers to these questions:
(2) The 24 hour clock widget doesn't work for me. This is a nightclub
so shows are almost always listed as 7:00pm or 12:30am etc. (am/pm).
On Aug 23, 2006, at 8:13 AM, zenx wrote:
> I was reading some django performance tips:
> http://www.jacobian.org/writing/2005/dec/12/django-performance-tips/
> One of them is: "Use a separate media server"
> But how could I upload files with Django FileField or ImageField to
> another webserver
On Aug 23, 2006, at 8:27 AM, Enrico wrote:
> I realized that using the IN field lookup with an empty list, it
> generates a SQL error (at least on MySQL).
> [snip]
> Any thoughts?
I *thought* this was fixed in trunk; what version of Django are you
running?
If you are on trunk, posting the
On Aug 23, 2006, at 5:26 AM, toth anna wrote:
> I need to provide webdav access (upload) to my customer.
> Problem is, uploaded files should hold not in filesystem,
> but in database (which other "end" is in django).
> Our diversified solutions are converges to python, so i'm
> searching for
On 8/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I put some packages for django onto sf.net
> http://svn.sourceforge.net/viewvc/django-userlibs/trunk/
>
> It contains some media packaged ajax toolkits mochikit, prototype, dojo and
> the wysiwyg-editors tinymce and
On Aug 23, 2006, at 11:16 AM, Rob Hudson wrote:
> Are these two scenarios possible in Django?
Of course :)
Remember -- settings files are just Python code. This means you can
include any type of logic in them that you like. I often write
settings files that work a bit differently on
James Bennett napisa³(a):
> My initial guess is that the problem has to do with permissions on the
> filesystem; the built-in server and FastCGI both typically run as your
> user on the system, which means they have permission to access
> anything your user account can access.
>
> Apache,
On Aug 23, 2006, at 5:12 PM, [EMAIL PROTECTED] wrote:
> Maybe I missed this in the docs but... Is there any way to specify a
> model that uses choices so that the user can select multiple items?
Hey Jay --
No, there's no way to do this with ``choices``. I'd suggest just
using a
On 8/23/06, Michael <[EMAIL PROTECTED]> wrote:
> I've hit the same problem :(
> after searching on this group and net I found that
> curently django dosen't work well with sqlite.
I'm not sure if that's the case here; it seems that it worked fine
under the built-in server, and worked fine under
Hi all,
I put some packages for django onto sf.net
http://svn.sourceforge.net/viewvc/django-userlibs/trunk/
It contains some media packaged ajax toolkits mochikit, prototype, dojo and the
wysiwyg-editors tinymce and fckeditor.
If anybody has an idea for other libs to be created, please call.
Hello,
I'm a Java programmer and new to the world of Python and Django.
Because of this, I could be missing something obvious trying to access
the request object from file urls.py in my project. Is it possible?
Where does the request object defined in the views as a parameter come
from?
Thank
Michael napisa³(a):
> I've hit the same problem :(
> after searching on this group and net I found that
> curently django dosen't work well with sqlite.
I can't believe it's that bad ;(, if so, I'll have to switch to mysql or
postgress. I hope it's gonna
be clarified/fixed soon.
W.
--
On 8/23/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
> My admin interface has another issue that I think it was not supposed to
> happen. I can see a list of the users but when I try do access each of
> them, the web page required is not found. Do I have to insert some url
> definitions in
Hi,
After setting up the admin interface, I get access to the users and
groups list.
>From the FAQ, I've read that
"""
If you'd like to use the admin site to create users, upgrade to the
Django development version, where this problem was fixed on Aug. 4, 2006.
"""
Not only, I'd like to create
On 8/23/06, keukaman <[EMAIL PROTECTED]> wrote:
>
> Thank you. I took your advice and changed "photoid" to "entry". I'm new
> to this, so can you elaborate a bit on why it's better to name that
> field 'entry'?
I will assume I'm actually in the same channel that Chris here.
On django models,
I've hit the same problem :(after searching on this group and net I found thatcurently django dosen't work well with sqlite.Try to use mysql or psqlOn 8/24/06,
Wiktor Grębla <[EMAIL PROTECTED]> wrote:
Hi.Today I've been trying (preparing) to switch from my testingconfiguration
>>> from django import forms
>>> f = forms.DatetimeField(field_name='dt')
>>> f.html2python("")
>>> f.html2python(None)
Traceback (most recent call last):
File "", line 1, in ?
File
"/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/forms/__init__.py",
line 779, in html2python
Thank you! I will take a look at it.
--~--~-~--~~~---~--~~
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 this group, send
On 8/22/06, cyberco <[EMAIL PROTECTED]> wrote:
>
> In my model:
>
> =
> image = models.ImageField(upload_to='pics',
> validator_list=[validators.isValidImage], blank=True)
> =
Without looking more closely at the code involved, I'm not sure why
Following up on my message last week, I've released a simple connector
to connect FCKeditor's image browser to a Django application. You can
find the project at http://code.google.com/p/django-fckconnector/, and
basic documentation in
We've got a couple of cases in our current PHP libraries that we're
trying to find equivalents for in Django. Here are a few scenarios we
have currently to pull media (mostly videos) from different places
depending on the user or user preferences...
1. During development and testing we host
On 8/23/06, Gabriel Puliatti <[EMAIL PROTECTED]> wrote:
>
> On 8/23/06, zenx <[EMAIL PROTECTED]> wrote:
> > But how could I upload files with Django FileField or ImageField to
> > another webserver than the one using django?
>
> I think it meant something like a separate server, not a machine.
>
On 8/23/06, zenx <[EMAIL PROTECTED]> wrote:
> But how could I upload files with Django FileField or ImageField to
> another webserver than the one using django?
I think it meant something like a separate server, not a machine.
Like using apache to run Django and lightTPD to serve the media
James Mulholland wrote:
> temp.set_teams(data['teams'])
> temp.save()
This looks like 0.91 syntax that was changed in 'magic-removal' process.
Now it should look like this:
temp = Message(...)
temp.save()
for id in data['teams']:
temp.teams.add(Team(id))
BTW,
Does nobody have any ideas about this?!? I stumbled across a link which
tells part of the story, so I now think it's more correct to use this:
def save(self, data):
temp = Message(
contact_type = data['contact_type'],
mobile_number = data['mobile_number'],
Hi.
Today I've been trying (preparing) to switch from my testing
configuration (lighttpd+flup+django-fastcgi) to apache+mod_python, so
far without success .
From my point of view, there is something wrong happening between
sqlite and mod_python, but the error messages look enigmatic. I've
Hi,
I realized that using the IN field lookup with an empty list, it
generates a SQL error (at least on MySQL).
Maybe the lookup could check if the list is empty before writing the
SQL condition.
I know that I could the check myself before applying the filter, but
doing directly on the DB api
I've never edited a wiki, but seems easy, I'll post the code soon.
Regards.
Enrico
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
I was reading some django performance tips:
http://www.jacobian.org/writing/2005/dec/12/django-performance-tips/
One of them is: "Use a separate media server"
But how could I upload files with Django FileField or ImageField to
another webserver than the one using django?
Makes sense. :)
--~--~-~--~~~---~--~~
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 this group, send email to [EMAIL
Thanks to everyone here, this really helped me out.
One thing I still have questions about it Eric's remark:
> ---
> Take note that, since the is_superuser is not a required field, iirc,
> you don't have to set it in new_data if your intent leave the value the
> same.
> ---
I indeed want to
DavidA wrote:
> The identity value is set in the new instance once you call save so you
> can simply do this:
>
> p = Property(sq_feet=2300, ...)
> p.save() # now p.id is set
>
> a = Ad(property=p, ...)
> a.save()
>
> The equivalent of the @@Identity trick is handled during
[EMAIL PROTECTED] wrote:
> Hi all,
>
> i have the following scenario for a real-estate search engine:
>
> "Ad" table where i define the properties of the ad such as created_on,
> expires_on, user_id and is related with a 1-1 FK to the "Property"
> table which defines stuff such as sq_feet,
Hi
Thanks for the reply.
I *think* I get the forms stuff generally, the bit I'm having trouble
with is having a maniplator deal with a list of objects of the same
type.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I need to provide webdav access (upload) to my customer.
Problem is, uploaded files should hold not in filesystem,
but in database (which other "end" is in django).
Our diversified solutions are converges to python, so i'm
searching for pythonic way. Google gives me a lot of hits
about webdav
does urllib2 ( http://pydoc.org/2.4.1/urllib2.html ) do what you need?
On 23/08/2006, at 7:54 PM, zenx wrote:
>
> "Ruby has different libraries that provide higher-level access to
> network protocols such as FTP, HTTP or HTTPS. This article shows the
> usage of net::http, net::https, open-uri
"Ruby has different libraries that provide higher-level access to
network protocols such as FTP, HTTP or HTTPS. This article shows the
usage of net::http, net::https, open-uri and the rio library."
(http://www.juretta.com/log/2006/08/13/ruby_net_http_and_open-uri/)
I would like django to connect
http://groups.google.com/group/django-users/browse_thread/thread/a28f4d79a801ae5e/4011309ec4836dff?lnk=gst=FCKeditor=2#4011309ec4836dff
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Regarding (7) and (8) you might want to have a look at
http://www.vonautomatisch.at/django/filebrowser/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Hi all,
i have the following scenario for a real-estate search engine:
"Ad" table where i define the properties of the ad such as created_on,
expires_on, user_id and is related with a 1-1 FK to the "Property"
table which defines stuff such as sq_feet, district_id etc...
I'd like to keep them
Hi folks,
I don't like replying to my own mails, but I'm working against a
deadline here. Is it possible to do what I want? Luke wrote:
> limit_choices_to is (essentially) a class level attribute, and has
> no access to instance level data.
which probably means that I can't do what I want
Hi,
I like the Admin interface very much. :)
Currently the Admin interface is designed for adding or changing
objects, bot not for *viewing* them. I am thinking to enhance it with
view capabilities.
For example, when you want to change an object you have some nice
features to select the
49 matches
Mail list logo