Re: embedding an HTML file.

2013-06-22 Thread Nigel Legg
Thanks Goran, that does exactly what I need.

Regards,
Nigel Legg
07914 740972
http://twitter.com/nigellegg
http://uk.linkedin.com/in/nigellegg



On 22 June 2013 15:42, Goran  wrote:

> Try to use "safe" filter in which case table will be interpreted as HTML
>
> {{ dftable|safe }} or as second solution, call dftable.allow_tags=True in
> the view.
>
>
> On Saturday, June 22, 2013 9:35:01 AM UTC+2, Nigel Legg wrote:
>>
>> I want to allow users to upload a file and then view the data from it.
>> So I have sorted out the file upload, and converting the file to a pandas
>> dataframe, and then creating an HTML table of df.head().  The template
>> looks like
>>
>> 
>>
>> 
>> 
>> 
>> File View
>> 
>>
>> 
>> File name: {{docfile_name}}
>>
>> {{dftable}}
>>
>> 
>> 
>> [dftable is the variable I used for writing the html to.
>> And the attached image shows how this looks on screen.
>> How can I get this HTML table to show on the web page?
>> Many thanks,
>>
>> Regards,
>> Nigel Legg
>> 07914 740972
>> http://twitter.com/nigellegg
>> http://uk.linkedin.com/in/**nigellegg
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: embedding an HTML file.

2013-06-22 Thread Nigel Legg
That would be unnecessarily complicated and time consuming
On 22 Jun 2013 21:30, "Javier Guerra Giraldez"  wrote:

> On Sat, Jun 22, 2013 at 9:42 AM, Goran  wrote:
> > Try to use "safe" filter in which case table will be interpreted as HTML
>
> or better, don't write html in Python.  collect and organize the data
> in the view functions/classes, and express into html in the template.
>
>
> --
> Javier
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: embedding an HTML file.

2013-06-22 Thread Nigel Legg
Thanks will try this.
On 22 Jun 2013 15:42, "Goran"  wrote:

> Try to use "safe" filter in which case table will be interpreted as HTML
>
> {{ dftable|safe }} or as second solution, call dftable.allow_tags=True in
> the view.
>
> On Saturday, June 22, 2013 9:35:01 AM UTC+2, Nigel Legg wrote:
>>
>> I want to allow users to upload a file and then view the data from it.
>> So I have sorted out the file upload, and converting the file to a pandas
>> dataframe, and then creating an HTML table of df.head().  The template
>> looks like
>>
>> 
>>
>> 
>> 
>> 
>> File View
>> 
>>
>> 
>> File name: {{docfile_name}}
>>
>> {{dftable}}
>>
>> 
>> 
>> [dftable is the variable I used for writing the html to.
>> And the attached image shows how this looks on screen.
>> How can I get this HTML table to show on the web page?
>> Many thanks,
>>
>> Regards,
>> Nigel Legg
>> 07914 740972
>> http://twitter.com/nigellegg
>> http://uk.linkedin.com/in/**nigellegg
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to divide my apps? Good practices?

2013-06-22 Thread galgal


I've made a quick schema of couple of main tables. As you can see, there 
are many relations, so I think putting it all in one app. There will be a 
couple of additional models. There will be 1 more thing: a play systems. 
Some seasons can have simple table games but others - of example 2 rounds 
of regular matches etc... That will be a special, separated class for that, 
in the same app as rest I think.

What do you think?





On Thursday, June 20, 2013 11:01:30 PM UTC+2, galgal wrote:
>
> Hi,
> I'm starting my new project. It's sport-connected.
> The main part of my app will be league, matches, teams and players. There 
> will be many relations.
>
> So, how to make apps and models. I plan to make models:
>
>- Season
>- League (FK to Season)
>- Team
>- Match (FK to League and 2FK to Teams)
>- Players (FK to Team)
>- and many more to present teams history in each season etc.
>
> Is it better, to make it all in 1 app, called for example Game, or divide 
> it into smaller apps?
> Thanks for help.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: embedding an HTML file.

2013-06-22 Thread Javier Guerra Giraldez
On Sat, Jun 22, 2013 at 9:42 AM, Goran  wrote:
> Try to use "safe" filter in which case table will be interpreted as HTML

or better, don't write html in Python.  collect and organize the data
in the view functions/classes, and express into html in the template.


--
Javier

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Build SEO friendly url with {% url 'detail' object.id %} ?

2013-06-22 Thread thomaaaas
Found the answer: 
http://stackoverflow.com/questions/11879416/pretty-and-seo-friendly-urls-in-django


On Saturday, June 22, 2013 8:10:07 PM UTC+2, thoms wrote:
>
> Hello,
>
> In my index.html, I have something like this that displays a list of 
> drawings, with links to the drawings:
>
> {% for drawing in latest_drawings_list %}
> {{ drawing.title 
> }}
> {% endfor %}
>
> When I look at the html generated, I see this type of url:  href="/drawing/4"> which is not SEO friendly.
> I'd like to have a url that looks like: /drawing/artiste_name/id
>
> How to do this? I need to modify urls.py? models.py? views.py?
> Thanks for your help! :)
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Build SEO friendly url with {% url 'detail' object.id %} ?

2013-06-22 Thread thomaaaas
Hello,

In my index.html, I have something like this that displays a list of 
drawings, with links to the drawings:

{% for drawing in latest_drawings_list %}
{{ drawing.title 
}}
{% endfor %}

When I look at the html generated, I see this type of url:  which is not SEO friendly.
I'd like to have a url that looks like: /drawing/artiste_name/id

How to do this? I need to modify urls.py? models.py? views.py?
Thanks for your help! :)


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Unique image name with timestamp?

2013-06-22 Thread der_fenix
For timestamp in int you should use time() from time package (not 
datetime.time). It return float number, but can be easy convert to int.

> Hello,
> 
> I'm new to Django, and I have a question.
> I have a ImageField() in my model, and I obviously want that each image has
> a unique name in my filesystem. How to do this?
> 
> My idea was to include the timestamp in the name of the image (I'll never
> have more than one image uploaded per second). So I coded something like
> this for the name of the uploaded image:
>  f, ext = os.path.splitext(filename)
>  return "images/%d%s" % (datetime.now(), ext)
> 
> But I get an error: "%d format: a number is required, not datetime.datetime"
> 
> So my question is: how to get the timestamp of the current time as an
> integer?
> Thanks for your help!

signature.asc
Description: This is a digitally signed message part.


Re: Count the number of drawings each artist has?

2013-06-22 Thread thomaaaas
Awesome, it works, thanks!


On Saturday, June 22, 2013 4:52:34 PM UTC+2, Goran wrote:
>
> Just add related name to the artist field in the Drawinds model artist = 
> models.ForeignKey(Artist, related_name='drawings')
>
> Then you can use X.drawings.count() when is needed. It also works in the 
> template, Let say that you have list with some artists named 'foo' so in 
> the template you can count his drawings on the following way:
>
> {% for x in foo %}
>
>{{ x }} -  {{ x.drawings.count }} 
>
> {% endfor %}
>
> It will be displayed as:
> Donatello - 24
> Michelangelo - 14
>
> On Saturday, June 22, 2013 4:36:54 PM UTC+2, thoms wrote:
>>
>> Hello,
>>
>> In my model I have artists and drawings. Each drawing has 
>> a ForeignKey(Artist)
>> I'm trying to count the number of drawings each artist has, but I don't 
>> know how to do it...
>> Below a simplified version of my code.
>>
>> class Artist(models.Model):
>> name = models.CharField(max_length=140)
>>
>> def number_of_drawing(self):
>> return drawing.count() # how to do this ?
>>
>> class Drawing(models.Model):
>> artist = models.ForeignKey(Artist)
>> description = models.TextField()
>>
>> Can you help me write the number_of_drawing function?
>> Thanks!
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Count the number of drawings each artist has?

2013-06-22 Thread Goran
Just add related name to the artist field in the Drawinds model artist = 
models.ForeignKey(Artist, related_name='drawings')

Then you can use X.drawings.count() when is needed. It also works in the 
template, Let say that you have list with some artists named 'foo' so in 
the template you can count his drawings on the following way:

{% for x in foo %}

   {{ x }} -  {{ x.drawings.count }} 

{% endfor %}

It will be displayed as:
Donatello - 24
Michelangelo - 14

On Saturday, June 22, 2013 4:36:54 PM UTC+2, thoms wrote:
>
> Hello,
>
> In my model I have artists and drawings. Each drawing has 
> a ForeignKey(Artist)
> I'm trying to count the number of drawings each artist has, but I don't 
> know how to do it...
> Below a simplified version of my code.
>
> class Artist(models.Model):
> name = models.CharField(max_length=140)
>
> def number_of_drawing(self):
> return drawing.count() # how to do this ?
>
> class Drawing(models.Model):
> artist = models.ForeignKey(Artist)
> description = models.TextField()
>
> Can you help me write the number_of_drawing function?
> Thanks!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: embedding an HTML file.

2013-06-22 Thread Goran
Try to use "safe" filter in which case table will be interpreted as HTML

{{ dftable|safe }} or as second solution, call dftable.allow_tags=True in 
the view.

On Saturday, June 22, 2013 9:35:01 AM UTC+2, Nigel Legg wrote:
>
> I want to allow users to upload a file and then view the data from it.  So 
> I have sorted out the file upload, and converting the file to a pandas 
> dataframe, and then creating an HTML table of df.head().  The template 
> looks like 
>
> 
>
> 
> 
> 
> File View
> 
>
> 
> File name: {{docfile_name}}
>
> {{dftable}}
>
> 
> 
> [dftable is the variable I used for writing the html to. 
> And the attached image shows how this looks on screen.  
> How can I get this HTML table to show on the web page?
> Many thanks, 
>
> Regards,
> Nigel Legg
> 07914 740972
> http://twitter.com/nigellegg
> http://uk.linkedin.com/in/nigellegg
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Count the number of drawings each artist has?

2013-06-22 Thread thomaaaas
Hello,

In my model I have artists and drawings. Each drawing has 
a ForeignKey(Artist)
I'm trying to count the number of drawings each artist has, but I don't 
know how to do it...
Below a simplified version of my code.

class Artist(models.Model):
name = models.CharField(max_length=140)

def number_of_drawing(self):
return drawing.count() # how to do this ?

class Drawing(models.Model):
artist = models.ForeignKey(Artist)
description = models.TextField()

Can you help me write the number_of_drawing function?
Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Having an issue with Minimal File Upload utility

2013-06-22 Thread Matt Lind
Updating with full error:

Request Method:GETRequest URL:http:///uploader/list/Django 
Version:1.3.7Exception Type:TemplateSyntaxErrorException Value:

Caught ImportError while rendering: No module named urls

Exception Location:/usr/lib/python2.6/site-packages/django/utils/importlib.py 
in import_module, line 35Python Executable:/usr/bin/pythonPython Version:
2.6.6Python Path:

['/home//myproject',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages']

Server time:Sat, 22 Jun 2013 09:06:18 -0500

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Deployment problem with google bots

2013-06-22 Thread frocco
Hello 

I get error messages from time to time because a google bot try's to view a 
product that no longer exists. How do I prevent this?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Unique image name with timestamp?

2013-06-22 Thread thomaaaas
Hello,

I'm new to Django, and I have a question.
I have a ImageField() in my model, and I obviously want that each image has 
a unique name in my filesystem. How to do this?

My idea was to include the timestamp in the name of the image (I'll never 
have more than one image uploaded per second). So I coded something like 
this for the name of the uploaded image:
 f, ext = os.path.splitext(filename)
 return "images/%d%s" % (datetime.now(), ext)

But I get an error: "%d format: a number is required, not datetime.datetime"

So my question is: how to get the timestamp of the current time as an 
integer? 
Thanks for your help!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Repository files

2013-06-22 Thread paul kenyon
Hi all, 

I'm new to django so please excuse my lack of knowledge I'm still learning! :-)

I recently hired a freelancer to create a django powered website for me from my 
html files that i had originally created, which he completed and I'm happy 
with. He has sent me all of the python files from his repository for me to 
have. 

I have setup a new django project on my local machine (as I planned to work on 
the front end of the project), is it just a case of copying all of the files he 
sent over and pasting them into my new django repository and then I can work on 
the site?

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Doubt the split()

2013-06-22 Thread Michael
This is a Python specific question as opposed to a Django one, so I'd 
recommend that similar questions be asked elsewhere.

Regarding your problem: the quickest way to do what you want is probably:

s[s.index(':')+2:-2]

That'll return the hex string.


On Friday, 21 June 2013 11:29:02 UTC+1, Hélio Miranda wrote:
>
> Hi
> I do not know how to spit ()
> Having this string [], how can I 
> get just the number?
>
> Someone can help me?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: CachedStaticFilesStorage with database cache backend - static file not found (404)

2013-06-22 Thread Denis Cornehl
Hi Luke,

2013/6/21 luke lukes :
> [snip]
why do you think this is related to the database cache-backend? Have
you tried another?

> I've also launched manage.py collectstatic, but I get some errors in an app.
> May be that the error?

Two thoughts on this:

- which errors occur on collectstatic?
- does the serving of other static files (without hash, for example
"css/my_style.css") work without errors (aka: is static-file serving
in generall ok?)


-- 
Denis

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: File Path Question

2013-06-22 Thread Nigel Legg
MEDIA_ROOT = 'c:\\stats_portal\\myproject\\myproject\\media\\'

doesn't work.  I've parsed the path to get this working for the time being,
thanks for your help.

Regards,
Nigel Legg
07914 740972
http://twitter.com/nigellegg
http://uk.linkedin.com/in/nigellegg



On 21 June 2013 19:09, Jacky Tian  wrote:

> Have you set your MEDIA_ROOT appropriately in settings.py? Since
> fileview.py is where your original exception originated, can you post the
> relevant parts of the source in that file (whatever function line 5 belongs
> to). Did you get the exception under runserver or a "real" webserver?
>
> You shouldn't need to change the slashes in your path, Python handles that
> for you.
>
> -Jacky Tian
>
> On Friday, June 21, 2013 11:34:16 AM UTC-4, Nigel Legg wrote:
>
>> In the path shown in my previous email, documents is a subdirectory of
>> the media directory, which is set in settings.py.
>>
>> views.py:
>> from myproject.myapp.forms import DocumentForm
>>
>> def list(request):
>> # Handle file upload
>> if request.method == 'POST':
>> form = DocumentForm(request.POST, request.FILES)
>> if form.is_valid():
>> newdoc = Document(docfile = request.FILES['docfile'])
>> newdoc.save()
>>
>> # Redirect to the document list after POST
>> return HttpResponseRedirect(reverse('**
>> myproject.myapp.views.list'))
>> else:
>> form = DocumentForm() # A empty, unbound form
>>
>> # Load documents for the list page
>> documents = Document.objects.all()
>>
>> # Render list page with the documents and the form
>> return render_to_response(
>> 'myapp/list.html',
>> {'documents': documents, 'form': form},
>> context_instance=**RequestContext(request)
>> )
>>
>> models.py:
>> from django.db import models
>>
>> class Document(models.Model):
>> docfile = models.FileField(upload_to='**documents/%Y/%m/%d')
>>
>> this section works fine - ie files yesterday were uploaded to
>> c:\\\\myproject\\media\\**documents\\2013\\06\\20\\file.**csv.
>> I need now to be able to access them.  This error suggests I need to
>> convert  documents/%Y/%m/%d' to documents\\2013\\06\\20\\ to be able to do
>> so.  Is that correct?
>>
>> Regards,
>> Nigel Legg
>> 07914 740972
>> http://twitter.com/nigellegg
>> http://uk.linkedin.com/in/**nigellegg
>>
>>
>>
>> On 21 June 2013 16:25, Jacky Tian  wrote:
>>
>>> What does your project directory tree look like? I suspect the error has
>>> to do with where your documents/ directory is located in relation to the
>>> working directory. Try loading the document using a path relative to your
>>> project root.
>>>
>>> -Jacky Tian
>>>
>>>
>>>
>>> On Friday, June 21, 2013 9:29:20 AM UTC-4, Nigel Legg wrote:

 New to Django(ish).  I'm not sure whether my error is coding or OS
 related:
 I am getting the following error message:

 IOError at /myapp/file_view/4/

 [Errno 2] No such file or directory: 
 'documents/2013/06/20/**testdata**1.csv'

  Request Method: GET  Request URL: http://127.0.0.1:8000/myapp/**fi**
 le_view/4/   Django Version:
 1.5.1  Exception Type: IOError  Exception Value:

 [Errno 2] No such file or directory: 
 'documents/2013/06/20/**testdata**1.csv'

  Exception Location: 
 C:\stats_portal\myproject\**mypr**oject\myapp\fileview.py
 in filedata, line 5  Python Executable: c:\python27\python.exe  Python
 Version: 2.7.5  Python Path:

 ['C:\\stats_portal\\myproject',
  'c:\\python27\\lib\\site-**packa**ges\\python_dateutil-1.5-**py2.**7.egg',
  
 'c:\\python27\\lib\\site-**packa**ges\\django_directupload-**0.0.**11-py2.7.egg',
  'C:\\windows\\system32\\**python**27.zip',
  'c:\\python27\\DLLs',
  'c:\\python27\\lib',
  'c:\\python27\\lib\\plat-win',
  'c:\\python27\\lib\\lib-tk',
  'c:\\python27',
  'c:\\python27\\lib\\site-**packa**ges']

  Server time: Fri, 21 Jun 2013 14:09:20 +0100
 Is the file not found problem because the upload has recorded it as
 documents/2013/06/... even though I am working on Windows, so python /
 django should have ... documents\\2013\\06\\... etc? I am developing on
 Windows, but will deploy on Linux.
 Or have I made an error elsewhere?


 Regards,
 Nigel Legg
 07914 740972
 http://twitter.com/nigellegg
 http://uk.linkedin.com/in/**nige**llegg

   --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@**googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/django-users