Advice/tips on how make private directory for each user?

2011-12-25 Thread Chris Seberino
I want some files to only be accessible by certain users. For example, imagine a teacher wanting to distribute graded exams on a Django server w/o violating any student's privacy. Is there an easy way to do this?I am aware of the access control decorator for specific views but not for specifi

question about django-admin.py

2011-12-25 Thread Chen Xu
Hi, everyone: Does anyone run the following command recently: django-admin.py startproject project It does not create what the django document says: it creates somehting like: project/ __init__.py manage.py settings.py urls.py project/ __init__.py manage.py

Re: Advice/tips on how make private directory for each user?

2011-12-25 Thread Demetrio Girardi
Static files are not handled by django, so you would have to configure your webserver for authentication and access control. You can however create a django view that picks stuff from the filesystem and serves it as attachment: https://docs.djangoproject.com/en/dev/ref/request-response/#telling

Re: question about django-admin.py

2011-12-25 Thread 软刀
I don't know why u get this I run it well maybe u can reinstall 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 email to django-users+u

Re: Writing apps for django

2011-12-25 Thread Lukasz
On 24 déc, 18:18, Denis Darii wrote: > Take a look at Django > Conventions:http://ericholscher.com/projects/django-conventions/ > > Also this article could be useful for > you:http://blog.zacharyvoase.com/2010/02/03/django-project-conventions/ > Thanks, Django Conventions looks like something

Re: Writing apps for django

2011-12-25 Thread Denis Darii
http://djangopackages.com/ is what you need. On Sun, Dec 25, 2011 at 2:04 PM, Lukasz wrote: > > On 24 déc, 18:18, Denis Darii wrote: > > Take a look at Django Conventions: > http://ericholscher.com/projects/django-conventions/ > > > > Also this article could be useful for you: > http://blog.zac

Re: Why when upload PDFs, Django says the content type is "application/text"?

2011-12-25 Thread Ivo Brodien
> I was getting "application/pdf" a few days ago with same client, > server, browser, etc. If this really is the case and the code is exactly the same, maybe it depends somehow on the PDF itself? Did you check that? -- You received this message because you are subscribed to the Google Groups "

Re: Django open source cashflow management app

2011-12-25 Thread Dan Poirier
On Thu. 2011-07-28 at 10:33 AM CDT, Derek wrote: > On Jul 28, 5:27 am, zodman wrote: >> the app is back :) > > Oops! Google Chrome could not find misgastos.zodman.com.mxits > > Looks like: > http://misgastos.zodman.com.mx/ > is the correct URL! I guess not anymore, it's just a "you've installed

Re: question about django-admin.py

2011-12-25 Thread Chen Xu
No, I made a mistake in my previous email: It generates something like: project/ __init__.py manage.py settings.py urls.py project/ __init__.py wsgi.py settings.py urls.py It seems like some changes have been made to the most recent django vers

raw query placeholder "%(key)s" supported in django?

2011-12-25 Thread ali alizadeh
hi. in psycopg module, when composing a query, you can use "%(key)s" in your query instead of "%s", and pass a dictionary instead of a list for actual parameter. django docs mention the "%s" syntax for raw queries. i was just wondering if the other syntax is supported or not, because it can be han

Re: question about django-admin.py

2011-12-25 Thread Karen Tracey
On Sun, Dec 25, 2011 at 10:03 AM, Chen Xu wrote: > It seems like some changes have been made to the most recent django > version? Yes. See: https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py Karen -- http://tracey.org/kmt/ -- You received this m

Re: question about django-admin.py

2011-12-25 Thread Daniel Roseman
On Sunday, 25 December 2011 15:03:38 UTC, Chen Xu wrote: > > No, I made a mistake in my previous email: > It generates something like: > > project/ > __init__.py > manage.py > settings.py > urls.py > project/ > __init__.py > wsgi.py > settings.py >

django 1.4 timeline

2011-12-25 Thread Sells, Fred
While I realize that release schedules are flexible until near then actual release date, I would appreciate a "best guess" on 1.4 beta. I have to complete a major upgrade of a mission critical app by 1 april. Since I use flex for my client side and have django just return XML, It's not like I n

Re: django 1.4 timeline

2011-12-25 Thread Karen Tracey
On Sun, Dec 25, 2011 at 11:34 AM, Sells, Fred wrote: > ** > > Any guesses on schedule? > https://docs.djangoproject.com/en/dev/releases/1.4-alpha-1/#the-django-1-4-roadmap Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django use

Re: Why when upload PDFs, Django says the content type is "application/text"?

2011-12-25 Thread Chris Seberino
On Dec 25, 7:53 am, Ivo Brodien wrote: > > I was getting "application/pdf" a few days ago with same client, > > server, browser, etc. > > If this really is the case and the code is exactly the same, maybe it depends > somehow on the PDF itself? Did you check that? I used the Linux/Unix file co

Re: Digest for django-users@googlegroups.com - 25 Messages in 7 Topics

2011-12-25 Thread 郁夫
Pydev +1 2011/12/20 > Today's Topic Summary > > Group: http://groups.google.com/group/django-users/topics > >- Urgent: django app got internal error: TemplateDoesNotExist: > 500.html<#13457e2dd88a98c4_group_thread_0>[3 Updates] >- auth.login function not working as > expected<#13457e

Re: Django 1.4 alpha 1 released

2011-12-25 Thread Cliff Peng
哈哈,等正式发布的时候大家一起把它翻译下作为社区福利。 2011/12/23 Mário Neto > Great, very very good! \,,/_ Congratulations!!! > > > 2011/12/23 James Bennett > >> Tonight as part of the 1.4 development process, we've released the >> first alpha for Django 1.4. You can read all about it on the blog: >> >> https://www.djan