Re: add comments to entry & link models

2008-03-09 Thread [EMAIL PROTECTED]
I'm not sure if you've seen this but check this page out. http://code.djangoproject.com/wiki/UsingFreeComment#AddingCommentstoDetailPages It's pretty much exactly how I'm doing it. On Mar 9, 4:16 pm, stranger <[EMAIL PROTECTED]> wrote: > Hi I think after thinking a while I felt its mu

Re: add comments to entry & link models

2008-03-09 Thread [EMAIL PROTECTED]
and I'll do the same. On Mar 9, 2:48 pm, stranger <[EMAIL PROTECTED]> wrote: > Hello, > >        I would like to add comments(Freecomments) to Entry and Link > model in blog application. > I wish the comment model have name, email, website and body. Can > anyone s

Re: App naming conflict? - modification of contrib.comments

2008-03-07 Thread [EMAIL PROTECTED]
Hmmmjust remembered to try: {% load comment_utils %} Still doesn't work though. I just get: 'comments' is not a valid tag library: Could not load template library from django.templatetags.comments, No module named contenttypes.models On Mar 7, 10:36 pm, "[EMAIL PROTECTED]&quo

Re: App naming conflict? - modification of contrib.comments

2008-03-07 Thread [EMAIL PROTECTED]
, 6:55 am, MichaelMartinides <[EMAIL PROTECTED]> wrote: > ah, found the issue, > > I used comment-utils to create a moderator. > > After changing the import statement in comment_utils.moderation to > mysite.comments.models import FreeComment it also works in mod_python &

jraaa7.com جراح

2008-03-07 Thread [EMAIL PROTECTED]
]dhj,w,v,]v]ai,ahj,لخخلمث --~--~-~--~~~---~--~~ 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

Problem with encoding and feeds

2008-03-06 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Can't redirect using HttpResponseRedirect with a form in a template inclusion tag

2008-03-06 Thread [EMAIL PROTECTED]
, and then place all the processing in a specific view, On Mar 6, 8:26 am, A Hampton <[EMAIL PROTECTED]> wrote: > I must be missing something, because I'm unable to redirect from a > template tag. > > On my page, I want a form. There is only one box for input -- page > number

Re: Advanced admin interface customization question

2008-03-06 Thread [EMAIL PROTECTED]
On Mar 6, 12:42 pm, David Reynolds <[EMAIL PROTECTED]> wrote: > On 5 Mar 2008, at 6:17 pm, Josh Ourisman wrote: > > > There are two ways in which I want to customize the admin interface > > for a project I'm working on. As far as I can tell, these sorts of > &g

Re: Fwd: Saved searches

2008-03-05 Thread [EMAIL PROTECTED]
I'm not sure I follow, if you mean doing a mass update, that is being implemented in qs-rf, however I don't think you will be able to increment. On Mar 5, 10:07 pm, "Haroldo Stenger" <[EMAIL PROTECTED]> wrote: > Thank you for Django, this is great. > I'd like to implement

Re: Documentation Project [No django directly related]

2008-03-05 Thread [EMAIL PROTECTED]
If you display the docs in html, you can use this to convert it to a pdf: http://www.htmltopdf.org/ On Mar 5, 3:52 pm, Grupo Django <[EMAIL PROTECTED]> wrote: > Hello, this is not directly related to django, but I'm pretty sure > someone could help me here. > I'm building a c

Re: Problems using cron to run a python script

2008-03-05 Thread [EMAIL PROTECTED]
/update_feeds.py The file had write permissions set. And here is what the cron looked like: MAILTO="[EMAIL PROTECTED]" 1 * * * * /home/user/django/django_projects/myproject/feed_updater One things for sure, I need to get off Dreamhost. Their forum was crap, and the service ticket I put

Re: Adding ManyToManyField to Django models

2008-03-04 Thread [EMAIL PROTECTED]
Yep here's a good article on it: http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/ On Mar 4, 5:36 pm, Michael Irani <[EMAIL PROTECTED]> wrote: > I got some help on IRC and here's the conclusion. There is no way to > add that mapping from auth.User to it

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
ror: No module named knoxd.apps.aggregator.models I had added the following to my cron: export PYTHONPATH=$PYTHONPATH:$HOME/lib/python2.3/site-packages I'm assuming this solved the previous traceback issue.(?) On Mar 4, 1:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > OK, I did what you instruc

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
n the cron, especially since the script runs from the command line? On Mar 4, 9:02 am, Evert Rol <[EMAIL PROTECTED]> wrote: > > Well part of the problem is that the script itself works fine. I can > > run from the command line without a hitch. But when I try to run it > >

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
, but is your cron running as a different user than you? If so, that could explain why you can run the command from the shell when you login vs. running it as cron. Derek On Mar 4, 12:43 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm sorry, but I still don't understan

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
place. On Mar 4, 11:55 am, Evert Rol <[EMAIL PROTECTED]> wrote: > > I'm not sure where to print the path. Do I add that to the > > update_feeds.py? Or does this go in the cron itself? > > > If I add it to the script, and then run the script from the command > > li

Re: sxsw anyone?

2008-03-04 Thread [EMAIL PROTECTED]
We just put up a (django) version of our Q site just for questions about and during SXSW. You can ask specific SXSW questions there--you might get some great answers. http://sxsw.fluther.com Ben Fluther.com On Mar 3, 7:40 am, "Peter Baumgartner" <[EMAIL PROTECTED]> wrote: >

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
Do you have a link to more information about Django-cron? How do I go about using this? On Mar 4, 10:34 am, "Dj Gilcrease" <[EMAIL PROTECTED]> wrote: > On Tue, Mar 4, 2008 at 4:55 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > >  I'm trying

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
. The cron is what's throwing the error. On Mar 4, 10:07 am, Evert Rol <[EMAIL PROTECTED]> wrote: > > Unfortunately, I get the same traceback: > > > Traceback (most recent call last): > > File "update_feeds.py", line 10, in ? > >   import feedparser > >

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
Unfortunately, I get the same traceback: Traceback (most recent call last): File "update_feeds.py", line 10, in ? import feedparser ImportError: No module named feedparser Any idea how to import the module within the cron? On Mar 4, 9:07 am, Jonas Christian <[EMAIL PROTECTED

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
Well part of the problem is that the script itself works fine. I can run from the command line without a hitch. But when I try to run it via the cron, I get the traceback about the feedparser module. On Mar 4, 7:36 am, Evert Rol <[EMAIL PROTECTED]> wrote: > > No, I haven't tried tha

Re: Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
No, I haven't tried that. How would I go about citing that? On Mar 4, 7:22 am, Evert Rol <[EMAIL PROTECTED]> wrote: > > Traceback (most recent call last): > > File "/path/to/script/update_feeds.py", line 10, in ? > > import feedparser > > ImportError: N

Problems using cron to run a python script

2008-03-04 Thread [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Admin Site Searching

2008-03-04 Thread [EMAIL PROTECTED]
On Mar 3, 1:41 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-03-02 at 10:03 -0800, Lee Connell wrote: > > I have configured my django admin site to allow searching. My > > question is when a user logs in and chooses the table they wish to > > make c

Oracle invalid environment variables

2008-03-04 Thread [EMAIL PROTECTED]
PROTECTED] bc1-6.build.redhat.com) - Intel Xeon 3 ghz When we migrated the application to the production server server specs: - Linux version 2.6.9-55.ELsmp ([EMAIL PROTECTED] bc2-14.build.redhat.com) - Intel Xeon 2.7 ghz We got the following Oracle error: ORA-12705: Cannot access NLS data files

What do you think about http://www.parallelimportsworld.com?

2008-03-03 Thread [EMAIL PROTECTED]
nsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Admin Site Searching

2008-03-03 Thread [EMAIL PROTECTED]
Hi Lee, On Mar 3, 1:22 pm, Lee Connell <[EMAIL PROTECTED]> wrote: > Anyone? Are you using newforms-admin? I think that this would be possible under that branch. I can't speak for trunk, however. Regards, Felix --~--~-~--~~~---~--~~ You received thi

Re: How to display a date in my template as Mar. 1 2008...not 2008-03-01?

2008-03-02 Thread [EMAIL PROTECTED]
Use the date filter: http://www.djangoproject.com/documentation/templates/#date On Mar 2, 11:57 am, Greg <[EMAIL PROTECTED]> wrote: > I'm querying a table in my db. Each record that gets returned > contains a DateField (the date it was created). I'm able to show the > date

Re: Upload files to separate server from Django

2008-02-25 Thread [EMAIL PROTECTED]
Cool, thanks or the help guys! I'm going to try to figure out this JellyRoll thing and bypass all of this by using Flickr...for now at least... On Feb 25, 6:57 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm not certain about the practicality of this (i

Re: Upload files to separate server from Django

2008-02-25 Thread [EMAIL PROTECTED]
actually have to write any special code to use your separate server since Django wouldn't need to know that the file is going somewhere completely different. On Feb 25, 9:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I've been trying to find an answer to this q

Re: Upload files to separate server from Django

2008-02-25 Thread [EMAIL PROTECTED]
There is currently a ticket for this: http://code.djangoproject.com/ticket/5361 I'm not sure what the status of it is, but for usage(with manual uploads, or if you try the patch), check out: http://www.b-list.org/weblog/2008/feb/07/media/ On Feb 25, 3:34 pm, "[EMAIL PROTECTED]&quo

Upload files to separate server from Django

2008-02-25 Thread [EMAIL PROTECTED]
! --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this grou

Re: Unexpected newforms/sites behavior

2008-02-25 Thread [EMAIL PROTECTED]
And now I've got 'ClubForm' object has no attribute 'save'. Where the hell is that coming from? On Feb 25, 12:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Ah... that makes sense. Now how do I handle the sites hidden field? > > On Feb 25, 12:00 pm, "Ja

Re: Unexpected newforms/sites behavior

2008-02-25 Thread [EMAIL PROTECTED]
Ah... that makes sense. Now how do I handle the sites hidden field? On Feb 25, 12:00 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Mon, Feb 25, 2008 at 11:55 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > >  Correction... ModelChoiceFie

Re: Unexpected newforms/sites behavior

2008-02-25 Thread [EMAIL PROTECTED]
) --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.

Re: Unexpected newforms/sites behavior

2008-02-25 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Unexpected newforms/sites behavior

2008-02-25 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Unexpected newforms/sites behavior

2008-02-25 Thread [EMAIL PROTECTED]
uot; group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: File uploads with django - memory usage questions

2008-02-23 Thread [EMAIL PROTECTED]
There is a ticket related to this: http://code.djangoproject.com/ticket/2070 there is a patch that based on the comments should work. On Feb 23, 2:48 pm, shabda <[EMAIL PROTECTED]> wrote: > I have a form which allows users to upload files. > > The form is, > class AddF

Re: wordpress hooks and actions system in django?

2008-02-22 Thread [EMAIL PROTECTED]
interface, and a inner class with the meta info, then when you want to use it you could do something like this: http://dpaste.com/36442/ On Feb 22, 11:18 am, canen <[EMAIL PROTECTED]> wrote: > Just chiming in here. There is a Wordpress 'clone' written in Python > called Textpress [1]. I

Re: Converting relational data to hiechical data

2008-02-22 Thread [EMAIL PROTECTED]
rales" <[EMAIL PROTECTED]> wrote: > On Thu, Feb 21, 2008 at 10:22 AM, shabda <[EMAIL PROTECTED]> wrote: > > >  I have a model like > > >  class Task(models.Model): > >   name = Models.CharField(max_length = 100) > >   parent = models.ForeignKey('Tas

Re: Creating a form with only foreign keys?

2008-02-21 Thread [EMAIL PROTECTED]
) for obj in all_sizes] self.fields = ( forms.SelectField(field_name="size", is_required=False,choices=sizes), ) On Feb 19, 3:57 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Feb 19, 3:53 pm, Adam Stein <[EMAIL PROTECTED]> w

Django for xml api based sites

2008-02-21 Thread [EMAIL PROTECTED]
send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Django Sendmail

2008-02-21 Thread [EMAIL PROTECTED]
Thanks Brian On Feb 20, 9:03 pm, Brian Morton <[EMAIL PROTECTED]> wrote: > By default, Django assumes that the SMTP server is running locally. > If you don't have one running locally, you need to set EMAIL_HOST and > EMAIL_PORT in your settings.py file to a valid SMTP server. &g

Re: how to get related foreign key when using values in query

2008-02-18 Thread [EMAIL PROTECTED]
! On Feb 19, 12:19 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-02-17 at 22:22 -0800, [EMAIL PROTECTED] wrote: > > i have 2 Models(for example): > > one is Category, have 2 fields: title and slug, the other is Entry > > with 4 fields: title, time,ca

SHARE THIS WORD OF GOD

2008-02-18 Thread [EMAIL PROTECTED]
send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Something I want to tell you

2008-02-18 Thread [EMAIL PROTECTED]
send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: ImportError: No module named base

2008-02-18 Thread [EMAIL PROTECTED]
cribed 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: djWarehouse - Django based e-commerce system

2008-02-18 Thread [EMAIL PROTECTED]
On Feb 18, 4:10 pm, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > > I am pleased to announce the immediate availability of djWarehouse e- > > commerce system, developed on Django. > > Could you provide a quick bench / swot against satchmo project as it > looks y

Re: Django on a non root Apache URL

2008-02-18 Thread [EMAIL PROTECTED]
AIL PROTECTED]> wrote: > On Feb 18, 2008, at 10:06 PM, [EMAIL PROTECTED] wrote: > > > > > Hi, I want to deploy a Django project on Apache but in a URL like: > >http://localhost/django > > > I can do it but since I have some HttpResponseRedirect on my project > >

djWarehouse - Django based e-commerce system

2008-02-18 Thread [EMAIL PROTECTED]
o post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Django on a non root Apache URL

2008-02-18 Thread [EMAIL PROTECTED]
cribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

how to get related foreign key when using values in query

2008-02-17 Thread [EMAIL PROTECTED]
! --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit

is_secure() behind reverse proxy

2008-02-17 Thread [EMAIL PROTECTED]
? --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this grou

Re: nqotd: django-registration and using a different form class

2008-02-17 Thread [EMAIL PROTECTED]
I seem to have fixed my problem but I'm not entirely sure what I did to fix it. I must have had a typo somewhere in my urls.py file as once I re-added the second entry for /accounts/register/ to include the new form_class, everything worked fine. On Feb 16, 2:51 pm, "[EMAIL PROTECTED]&quo

Re: May be useful tags (flatindex, table with shape)?

2008-02-16 Thread [EMAIL PROTECTED]
Thanks for writing this code, but djangosnippets[1] is probably a better place for it to go. On this mailing list it'll get lost or forgotten with all of the other posts. [1] http://www.djangosnippets.org/ On Feb 16, 10:17 pm, Yosifov Pavel <[EMAIL PROTECTED]> wrote: > May be th

"Presales" questions

2008-02-16 Thread [EMAIL PROTECTED]
---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

vhosts an ghots in my settup

2008-02-16 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: same form, different result, strange.

2008-02-15 Thread [EMAIL PROTECTED]
solved now On 2月15日, 下午9时04分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > here is part of form code i used: > > > > it works underhttp://www.xxx.com/home/, > but give error underhttp://www.xxx.com/home/, the error is : > Unhandled Exceptio

same form, different result, strange.

2008-02-15 Thread [EMAIL PROTECTED]
/' , the same result. any idea? --~--~-~--~~~---~--~~ 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

Re: shared state between requests and FastCGI

2008-02-14 Thread [EMAIL PROTECTED]
This is pretty hackish, and might not be fast enough, but if the data is simple(ie just 1 number to represent something) perhaps just store it in a text file. On Feb 15, 12:23 am, Amit Ramon <[EMAIL PROTECTED]> wrote: > After reading the replies, and thinking about the problem a little

Re: how to make cron works

2008-02-14 Thread [EMAIL PROTECTED]
thanks! i need to focus on mkaing shell script works for me On Feb 15, 2:17 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-14 at 22:07 -0800, [EMAIL PROTECTED] wrote: > > the error as below: > > 1.  Traceback (most recent call last): > >

Re: how to make cron works

2008-02-14 Thread [EMAIL PROTECTED]
t msnlib ImportError: No module named msnlib thanks! On Feb 15, 1:46 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-14 at 21:32 -0800, [EMAIL PROTECTED] wrote: > > i have a python script which works smooth for me in command line. > > but now it cannot

how to make cron works

2008-02-14 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How to serve robots.txt for Django?

2008-02-14 Thread [EMAIL PROTECTED]
I'm using a shared server at Dreamhost, which limits my access to certain things. :( How can I do this with mod_rewrite? On Feb 14, 4:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > If you are using Apache(or probably other servers as well), the best > way to do it

Re: How to serve robots.txt for Django?

2008-02-14 Thread [EMAIL PROTECTED]
of doing it by directory), there is a guide to doing this somewhere, does anyone know the URL? On Feb 14, 2:35 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > I use something like this: > >   (r'^robots.txt$',         'django.views.static.serve', { 'path' : "/ > txt/robots.t

Re: How to use django.contrib.sitemaps for Django app?

2008-02-14 Thread [EMAIL PROTECTED]
Indeed. What I meant was: http://patrickbeeson.com/sitemap.xml On Feb 14, 3:54 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > (r'^sitemap.xml$', > andhttp://patrickbeeson.com/sitemaps.xml. > > are different urls > > On Feb 14, 10:56 pm, "[EMAIL PROTECTED]" >

Re: Subclassing Newforms?

2008-02-14 Thread [EMAIL PROTECTED]
fields set to required. This is really strange sounding, but I'm displaying all of the fields (regardless of mode) for data display and consistency. On Feb 14, 2:30 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-14 at 11:19 -0800, [EMAIL PROTECTED] wrote: > > Ok, just

Re: How to serve robots.txt for Django?

2008-02-14 Thread [EMAIL PROTECTED]
, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I built a Django site for my blog and want to serve a robots.txt file > for it. But I can't figure out how to go about doing this since it's a > static file. > > Here is what I have in my urls: > > from patrick

How to use django.contrib.sitemaps for Django app?

2008-02-14 Thread [EMAIL PROTECTED]
oing wrong? --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit

How to serve robots.txt for Django?

2008-02-14 Thread [EMAIL PROTECTED]
-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Subclassing Newforms?

2008-02-14 Thread [EMAIL PROTECTED]
is concerned, the fields aren't required. Submitting the form with the child's required fields shows no errors. Does this involve over-riding the __init__ method or something? Perhaps I'm thinking of this in the wrong way. On Feb 14, 2:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wr

Re: Subclassing Newforms?

2008-02-14 Thread [EMAIL PROTECTED]
I haven't checked out django trunk in a few days, it wasn't working earlier (With a NoneType error). I'll get the latest Django and try it again with a follow-up. On Feb 14, 1:41 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-14 at 10:17 -0800, [EMAIL PROTECT

Subclassing Newforms?

2008-02-14 Thread [EMAIL PROTECTED]
this? --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this grou

Re: Xcode as Django IDE

2008-02-13 Thread [EMAIL PROTECTED]
I don't think thats what he meant be syntax completion, usually that means if I start typing a keyword/function/ or possibly a variable name it will start to complete it. On Feb 14, 12:48 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > Make sure you've got the document recognized as

Re: OR lookups

2008-02-13 Thread [EMAIL PROTECTED]
@Julien as did I. On Feb 13, 5:20 am, Julien <[EMAIL PROTECTED]> wrote: > Maybe a quick mention in the docs saying: "Warning, this might not > work in such and such case. But it is worked on and should be > eventually fixed, see the queryset-refactor branch." > > I

Re: What are the advantages of using Django for building things like blogs and CMS?

2008-02-13 Thread [EMAIL PROTECTED]
Well for one thing you get the built in admin! Also for your specific problem you mentioned you would go download comment-utils by James Bennet. On Feb 13, 5:57 pm, fyleow <[EMAIL PROTECTED]> wrote: > I have been reading a lot about Django and created some test websites > but not

Book clarifications Post here

2008-02-13 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

FloatField Size on Generic Views

2008-02-13 Thread [EMAIL PROTECTED]
ecause 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Weird caching issue

2008-02-13 Thread [EMAIL PROTECTED]
o unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Django Admin Page Media Path

2008-02-13 Thread [EMAIL PROTECTED]
thanks, my problem has been solved. On Feb 13, 2:33 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Feb 13, 2008 8:24 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > Hi Karen: > > > it's running on production(0.96). > &g

Re: Django Admin Page Media Path

2008-02-13 Thread [EMAIL PROTECTED]
racey" <[EMAIL PROTECTED]> wrote: > On Feb 13, 2008 5:41 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > Hello everyone! > > I'd like to change the Admin Page media path for my website which is > > based on Django. > > Are you running this site i

Django Admin Page Media Path

2008-02-13 Thread [EMAIL PROTECTED]
jango users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: OR lookups

2008-02-13 Thread [EMAIL PROTECTED]
Perhaps the current documentation should be updated to reflect that this is not working. Its quite frustrating to have documentation that describes something as working when it is not. On Feb 12, 1:20 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2008-02-12 at 00:56 -080

Re: Django cannot be used by large web sites?

2008-02-12 Thread [EMAIL PROTECTED]
('^cart/', include('mysite.cart.urls')), On Feb 12, 8:12 am, Roboto <[EMAIL PROTECTED]> wrote: > ... I'm going to assume that they did that if they're building a > commercial website, otherwise it would have been pointless to bring > django in. > That being said, maybe t

Re: Weird caching issue

2008-02-12 Thread [EMAIL PROTECTED]
on2.5/copy_reg.py", line 92, in __newobj__ return cls.__new__(cls, *args) TypeError: object.__new__(listiterator) is not safe, use listiterator.__new__() On Feb 12, 3:09 pm, Jeff <[EMAIL PROTECTED]> wrote: > Does it happen with all cache backends? > > On Feb 12, 3:14 pm, &quo

Re: using mod_python to host several django apps on the same vhost?

2008-02-12 Thread [EMAIL PROTECTED]
: {{ base_path }}/some/path/in/my/app/. I'm not sure how well it would work for the admin. http://www.djangosnippets.org/snippets/213/ Chad On Feb 11, 3:04 pm, <[EMAIL PROTECTED]> wrote: > I looked at the sample code there, and it tells me how to run two Django > applications un

Re: Weird caching issue

2008-02-12 Thread [EMAIL PROTECTED]
Upon further investigation, it appears the feeds framework is not the involved. Even getting a plain page I hit the same problem. As soon as I make the call from the external site the django site freaks out when caching is turned on through memcache. On Feb 12, 12:08 pm, "[EMAIL PROT

Re: How to make a simple employee attendance management system using Django?

2008-02-12 Thread [EMAIL PROTECTED]
How do you intend to capture the in time and out time for each employee? If you can collect that and get that (and the employees) into a database, reports over a period and for a particular employee aren't tough. On Feb 12, 8:53 am, "shashi.net" <[EMAIL PROTECTED]> wrote: >

Weird caching issue

2008-02-12 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

is model related

2008-02-11 Thread [EMAIL PROTECTED]
oreign key to that model or vice versa --~--~-~--~~~---~--~~ 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,

Re: using mod_python to host several django apps on the same vhost?

2008-02-11 Thread [EMAIL PROTECTED]
guess what happen to me :( http://browsershots.org/http://mobbing-gegner.de/ http://mobbing-gegner.de/ vhost-ispconfig-different ip and very rar error :) What happens ? Any hints for me On 11 Feb., 21:26, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > What are you using in url

Related tags

2008-02-11 Thread [EMAIL PROTECTED]
tags. Well, if you are still with me, thanks. Any idea how to approach this? Hint? Help? --~--~-~--~~~---~--~~ 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

Re: How to create a global value?

2008-02-10 Thread [EMAIL PROTECTED]
No, a session is exactly how you would do something like that. On Feb 10, 4:26 pm, Greg <[EMAIL PROTECTED]> wrote: > Hello, > I have a view that does some logic. Based on the result of that logic > I want to set a variable to True or False. I want to be able to > ac

custom admin action?

2008-02-10 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Beautiful Clocks

2008-02-09 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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 PROTECTED

GeoDjango developers

2008-02-08 Thread [EMAIL PROTECTED]
"Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: New Django Site - tsacomplaints.com

2008-02-08 Thread [EMAIL PROTECTED]
work. Nolan Caudill http://nolancaudill.com On Feb 6, 10:19 pm, slartiblartfast <[EMAIL PROTECTED]> wrote: > hey guys - im about to formally launch a new site done with django > called TSA Complaints (http://www.tsacomplaints.com) > > the site is a response to the hundreds

Checking ManyToManyField set relationships in Queries

2008-02-07 Thread [EMAIL PROTECTED]
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: query.filter(some_foreignKey_field__exact=None)

2008-02-07 Thread [EMAIL PROTECTED]
(part_of='None') always returns an empty set. So this seems to be "a bug", because these complementary functions are not returning complementary sets. Zoltan On Feb 7, 2:59 pm, Michael Elsdörfer <[EMAIL PROTECTED]> wrote: > > subtasks = tasks.exclude(part_of__exac

<    3   4   5   6   7   8   9   10   11   12   >