Hey,
I have an application that I'm running using Django's built-in server
on both Windows XP and Ubuntu 8.10. While it is wokring perfectly fine
on XP, I get import errors in Ubuntu. When I tried printing pythonpath
on Ubuntu, I managed to locate the problem. It seems like if I start
the server
Seems like I found one solution to that: Add --
pythonpath="path_to_your_app" to the manage.py runserver call. Any
better solutions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
amp;
FileField) requires a database.
So, my question is: Is it possible to add file upload functionality
(upload file from client to server -> save it on server somewhere ->
pass the path to python code on the server) without any underlying
databases?
t! Thanks!
Can I see a working example? I tried various things, and it almost
worked (I got a widget on the page, got an upload button, etc), but
nothing happens when i press Upload/Submit.
python_fan
--~--~-~--~~~---~--~~
You received this message because you are subs
On Apr 22, 9:41 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 22-Apr-08, at 1:00 PM, python_fan wrote:
>
> >>> yes - just get the filename and content from request.POST and
> >>> save it
> >>> wherever you like using ordinary python
>
On Apr 22, 10:32 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 22-Apr-08, at 1:23 PM, python_fan wrote:
>
> >>> Can I see a working example? I tried various things, and it almost
> >>> worked (I got a widget on the page, got an upload button, etc), bu
Hm... I think I'm still missing something. All I get on the web page
is 'None'. Any ideas?
On Apr 22, 10:51 am, python_fan <[EMAIL PROTECTED]> wrote:
> On Apr 22, 10:32 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 22-Apr-08, at 1:2
Hm... seems like I'm still missing something. All I get on the web
page is 'None'. Any ideas?
Rustam
On Apr 22, 10:51 am, python_fan <[EMAIL PROTECTED]> wrote:
> On Apr 22, 10:32 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 22-Apr-08
On Apr 26, 3:54 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> or better still, please paste your full current view and template.
> Also it would be easier to handle the thread if you did not top post ;-)
Ok, will do. :)
Here is the code: http://dpaste.com/47029/
Thanks a lot, Kenneth!
--~
On Apr 26, 8:13 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> upload_form = None
> upload_result = ''
>
> if request.method == 'POST':
> upload_form = FileUploadForm(request.POST, request.FILES)
> if upload_form.is_valid():
> # get file name and contents from request:
>
10 matches
Mail list logo