Re: Two projects, one admin, filebrowser

2009-04-14 Thread Micah Ransdell
If you are just wanting to serve out the files on the public site then you can just copy them over from the media/uploads folder on the intranet site, to the media/uploads folder on the public site. You can setup an cron job or simple post_save signal on the private side that automatically copies

Re: pagination problem with "Next" and saving results as a dictionary

2009-03-12 Thread Micah Ransdell
Jesse, You need to change your code in the view to look at the GET parameter rather than POST. Change this line: query = request.POST['q'] to: query = request.GET['q'] Also, make sure when you are submitting to your search page that you are submitting the page with GET in the method of your

Re: pagination problem with "Next" and saving results as a dictionary

2009-03-11 Thread Micah Ransdell
Jesse, The error you are getting is from "q" not being in your post QueryDictionary. This happens because when you click next you are not rePOSTing the q variable. Either you can put the q variable into an input box and POST it again by making your next link a submit button, or you could change q

Re: how to use django-profiles?

2009-03-10 Thread Micah Ransdell
Viktor, Try capitalizing UserProfile so that it is 'membership.UserProfile' instead of all lowercase. That has worked for me in the past. Micah On Tue, Mar 10, 2009 at 5:03 PM, Viktor Nagy wrote: > > Hi, > > I just can't figure out how to use django-profiles. I've an >