WATCH THE LATEST WALLPAPERS AND THEMES FOR MOBILES, WINDOWS, LINUX

2007-10-18 Thread sweety
Watch and download the latest wallpapers and themes. Brand New for windows, Funny, love and celeberity wallpapers here just open the site and download your wallpapers. http://free-themes.notlong.com --~--~-~--~~~---~--~~ You received this message because you are

Re: Customizing Django's Auth System

2007-10-18 Thread Jeremy Dunck
On 10/18/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On 10/18/07, Hugh Bien <[EMAIL PROTECTED]> wrote: > > I was wondering if it was possible to customize Django's Auth system to not > > include permissions, groups, or messages. For the app I'm working on, just > > have a User model

Re: Need help selecting a Django hosting provider

2007-10-18 Thread Kenneth Gonsalves
On 18-Oct-07, at 3:39 AM, Greg wrote: > Ok...let's try this again. Hopefully this works. it worked all four times - and hosting provider depends on the size and scale of the site you are building small site, low memory - webfaction medium site - or more than one site - VPS, I found

Re: Is posted data always in order?

2007-10-18 Thread Thejaswi Puthraya
On Oct 19, 12:39 am, Ken <[EMAIL PROTECTED]> wrote: > I've tried a couple of test cases and it appears that the data > returned in HttpRequest.POST is ordered. request.POST is a python dictionary and the keys need not be ordered. Cheers Thejaswi Puthraya

unique_for non-date field

2007-10-18 Thread Chris H.
I am building a website for an annual event. Part of the site will allow the administrators to post news articles that cover the event. I envision my URLs looking something like: example.com/2007/articles/ example.com/2007/articles/article-1-slug-here/ example.com/2008/articles/

Re: new : advise on installing Django, issues

2007-10-18 Thread Paper Planes
Hugh & Drasty, Thank you both. I have Python installed now once you pointed out using the relative file path. I'll also take your advice Hugh and get up to date on terminal commands. With some work I'll get clever with all this. I appreciate the nice introduction to user groups. Paper On

Re: Authenticating static content when not using mod_python

2007-10-18 Thread Graham Dumpleton
On Oct 19, 12:23 am, AndyB <[EMAIL PROTECTED]> wrote: > Sorry - I was trying to keep the question simple and generic. > > I am using Django under Apache and FCGI (Dreamhost's setup not mine) > > I need to prevent certain users from accessing certain static files to > prevent the guessing of URL's

Re: Getting the right data to the template

2007-10-18 Thread Mikkel Høgh
Hmm, the codebrowse link does not seem to work, sadly. You should be able to browse the repository here: http://codebrowse.launchpad.net/~mikl/kaplan/kaplan.dev/files The models are located in kaplan/todo/models.py and kaplan/taxonomy/ models.py Kind regards, Mikkel Høgh

Getting the right data to the template

2007-10-18 Thread Mikkel Høgh
I have a bit of a problem - I'm creating a GTD-focused task management app for Django, mainly for my own benefit, but it's open source if any one cares. I've been trying to implement a taxonomy system like the one Drupal uses. Only problem is that I find it difficult to get the right data out

Re: new : advise on installing Django, issues

2007-10-18 Thread Hugh Bien
Hi Paper, I think you want to just double click on Django-0.96.tar.gz file to unzip it first, then from the Terminal type: cd ~/Desktop/Django-0.96 It sounds like you're just starting out with the command line. You might want to google around for 'command line tutorials' or 'mac terminal

Re: new : advise on installing Django, issues

2007-10-18 Thread Drasty
Since the Django folder is on your desktop, try typing cd ~/Desktop/Django-0.96 On Oct 18, 4:19 pm, Paper Planes <[EMAIL PROTECTED]> wrote: > Hello Hugh + Others, > > Thanks for responding and for the answers! > > I ran it at the top unix shell level, not within Python. (I had tried > both

datetime field < year 1900

2007-10-18 Thread jp
I'm working on a brithdate/deathdate table and am having problems with this limitation. Realize this is a result of python's datetime strftime() issue but was wondering if anyone figured out a django workaround that wasn't a total hackfest. --~--~-~--~~~---~--~~

Re: new : advise on installing Django, issues

2007-10-18 Thread Paper Planes
Hello Hugh + Others, Thanks for responding and for the answers! I ran it at the top unix shell level, not within Python. (I had tried both before posting.) Is the issue that I downloaded Django to my desktop and not through FTP using unix? I feel like my computer doesn't know where the files

Re: new : advise on installing Django, issues

2007-10-18 Thread Hugh Bien
I think you're trying to run the 'tar' program inside the Python shell. Instead, just run it in your command line without running Python. You could also just find the Django-0.96.tar.gz file in Finder and double click on it. Django comes with its own server for development, so you don't need

Re: Customizing Django's Auth System

2007-10-18 Thread Jacob Kaplan-Moss
On 10/18/07, Hugh Bien <[EMAIL PROTECTED]> wrote: > I was wondering if it was possible to customize Django's Auth system to not > include permissions, groups, or messages. For the app I'm working on, just > have a User model would be great. Just because they're there doesn't mean you have to

new : advise on installing Django, issues

2007-10-18 Thread Paper Planes
Hello, I want to start learning a computer language and I'm starting with Django. But sadly, given the instructions on-line + my naivity, I can't figure out how to install it. I have a MacBook (v 10.4.10). I downloaded the latest Python. Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) This is a

Re: newforms: required field mark

2007-10-18 Thread Ken
By default all form fields are required. So, it seems to me that when you define your forms class, you simply define your fields with a 'label' argument with the '*' tacked on. If you specify that the field is not required, define it with a label that doesn't have the '*' tacked on. Does this

Re: retrieving initial form data

2007-10-18 Thread Ken
Thanks! Exactly what I needed. I subsequently found it in newforms/ forms.py. Duh! I think my eyes just glazed over when I saw all that complicated new-style Python class stuff. On Oct 17, 1:10 pm, Doug B <[EMAIL PROTECTED]> wrote: > The bound data and initial data dicts are just set on

Re: Customizing Django's Auth System

2007-10-18 Thread Hugh Bien
I was thinking about doing that, but I didn't want to roll my own authentication system if would be easier to just customize what's already been done. On 10/18/07, Amirouche <[EMAIL PROTECTED]> wrote: > > > if you only need User, write you own User model, no ? > > On Oct 18, 7:34 pm, "Hugh Bien"

Is posted data always in order?

2007-10-18 Thread Ken
I have a form page that is made up of multiple forms. Think: A has 1 or more B's, each B has one or more C's, and so on... I've tried a couple of test cases and it appears that the data returned in HttpRequest.POST is ordered. That is, for a key with multiple values, the first submitted value

Bypass any filter !

2007-10-18 Thread trog
I was at school trying to log into myspace when i found they blocked the site from school network ¬¬ but my friend showed my this site http://www.agproxy.com you can access any blocked site from there --~--~-~--~~~---~--~~ You received this message because you

two block template tags on after another

2007-10-18 Thread johnny
I have templatetags/custom_format.py, and in it I have do_custom_format_string1, do_custom_format_string2. I placed the template tags one after another, insdie my html page like this: {% for a_object in object_list %} {% load custom_format %} {% custom_format_string1 a_object.3 %}

Problem with Pagination

2007-10-18 Thread Greg
Hello, I'm using Pagination to display my results in a page. Everything is working great. Let's say that a user does a search for a product and 1000 products get returned. I currently show 10 per page. So this is how it would look Previous 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,etc,,,99,100

Problem with Pagination

2007-10-18 Thread Greg
Hello, I'm using Pagination to display my results in a page. Everything is working great. Let's say that a user does a search for a product and 1000 products get returned. I currently show 10 per page. So this is how it would look Previous 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,etc,,,99,100

Problem with Pagination

2007-10-18 Thread Greg
Hello, I'm using Pagination to display my results in a page. Everything is working great. Let's say that a user does a search for a product and 1000 products get returned. I currently show 10 per page. So this is how it would look Previous 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,etc,,,99,100

Re: Customizing Django's Auth System

2007-10-18 Thread Amirouche
if you only need User, write you own User model, no ? On Oct 18, 7:34 pm, "Hugh Bien" <[EMAIL PROTECTED]> wrote: > Hi all, > > I was wondering if it was possible to customize Django's Auth system to not > include permissions, groups, or messages. For the app I'm working on, just > have a User

Re: Templates

2007-10-18 Thread Antoni Aloy
2007/10/18, AniNair <[EMAIL PROTECTED]>: > > Hi... > I am trying inernationalization. > {% for lang in LANGUAGES %} > {{ lang.1 }} > {% endfor %} > This lists all the languages in the settings.py . > > Can someone tell me how to get the current language being used in the > template? I managed

Re: Where to download to?

2007-10-18 Thread SSK
Sorry, accidentally posted incomplete message. Continued... Instead of creating symbolic link, ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django can I just download to my SITE-PACKAGES-DIR/django Are there any downsides to this? If yes, where should django-trunk (from svn co

Where to download to?

2007-10-18 Thread SSK
I'm running OSX, I've decided to do Python 2.5 + Django + SQLite + built-in server I followed the instructions at http://www.djangoproject.com/documentation/install/ Instead of doing ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django can I just download to my SITE-PACKAGES-DIR/django

Customizing Django's Auth System

2007-10-18 Thread Hugh Bien
Hi all, I was wondering if it was possible to customize Django's Auth system to not include permissions, groups, or messages. For the app I'm working on, just have a User model would be great. - Hugh --~--~-~--~~~---~--~~ You received this message because you

Re: Consuming a SOAP services from Django

2007-10-18 Thread Tim Perrett
Hey Antoni Agreed, separating the generated code (which was created by reading a WSDL file), and then calling that is the way to go. In my situation, I have a couple of difference service endpoints to call, so im not sure how best to package them up. What are peoples thoughts? I'll have the

Re: unix auth backend

2007-10-18 Thread Florian Apolloner
I would take a look at the python pam bindings: http://www.pangalactic.org/PyPAM/ Florian Rodrigo Lazo wrote: > Hi all, > > While reading the auth documentation I've found that you could > implement your own auth backend if you need so, and I've found > implementations of a LDAP backend. Sadly

Re: Check box form

2007-10-18 Thread jacoberg2
Thanks for all the help, I am still using some oldforms because i picked up this project from someone else, so thanks for the html work around. I will keep the newforms method in mind as well when an update rolls around. Again, this was a great help. Jacob On Oct 17, 5:30 pm, rskm1 <[EMAIL

Re: newforms: required field mark

2007-10-18 Thread weissblitz
I'm also looking for this very same solution... Any advice is greatly appreciated! Thanks, Carlos :) On Oct 7, 11:38 am, Oleg Korsak <[EMAIL PROTECTED]> wrote: > Hello! Is there any built-in method to make my form show required field > label with bold (or some king of mark like "*") and other

Re: Authenticating static content when not using mod_python

2007-10-18 Thread AndyB
Sorry - I was trying to keep the question simple and generic. I am using Django under Apache and FCGI (Dreamhost's setup not mine) I need to prevent certain users from accessing certain static files to prevent the guessing of URL's for certain files and images. All the solutions I have seen so

Re: Need help selecting a Django hosting provider

2007-10-18 Thread Michal
> I am also interested to host my site on webfaction. Therefore I asked the > webfaction-support for the server-location? This is the answer: Our servers are in Dallas, Texas. Regards, Remi. > > But your question is also insteresting for me, because I am from Austria and >

Re: Need help selecting a Django hosting provider

2007-10-18 Thread Bernd
Hello, I am also interested to host my site on webfaction. Therefore I asked the webfaction-support for the server-location? This is the answer: >>> Our servers are in Dallas, Texas. >>> Regards, >>> Remi. But your question is also insteresting for me, because I am from Austria and webfaction is

Re: Need help selecting a Django hosting provider

2007-10-18 Thread Greg
Thank for all the help so far. It sounds like Webfaction is the way to go However, I did notice that Webfaction servers are located in England. Since my site will mostly be targeting United States traffic will that have an effect on the time it takes for people to browse my site? Thanks On

unix auth backend

2007-10-18 Thread Rodrigo Lazo
Hi all, While reading the auth documentation I've found that you could implement your own auth backend if you need so, and I've found implementations of a LDAP backend. Sadly I couldn't to find any code sample or suggestion on how to do it using (linux,freebsd) passwords and users. I manage a

Question regarding django_website's docutils extension

2007-10-18 Thread Horst Gutmann
Hi :-) I'm currently writing on a small utility for transforming RSTs into something more pleasant than the normal HTML output generated by rst2html.py that I first of all want to use for myself and at work, but also would like to publish (cheeseshop). This utility also includes parts of the

Re: image/file uploads, custom filenames, security

2007-10-18 Thread Marty Alchin
On 10/17/07, Mark Green <[EMAIL PROTECTED]> wrote: > > The ticket I mentioned above also makes it much easier to subclass > > FileField and ImageField to add or change whatever functionality you > > like. I don't know whether PIL already does what you need, but if > > you're paranoid, this patch

Templates

2007-10-18 Thread AniNair
Hi... I am trying inernationalization. {% for lang in LANGUAGES %} {{ lang.1 }} {% endfor %} This lists all the languages in the settings.py . Can someone tell me how to get the current language being used in the template? I managed to pass it from my view. but is there some way to get this

Re: multiple database support: oracle backend

2007-10-18 Thread Ben Ford
Hi There, I've had similar problems and it comes down to the line in query.py that looks in backend and sets QuerySet to _QuerySet or backend.QuesrySet if there is one... I've also written some code to mitigate against this, and I'd suggest anyone with an interest gets together on this so that

Re: What is happening with mod_python

2007-10-18 Thread Leo
In particular, I find it's really useful to configure the mod_python test page as described at http://www.modpython.org/live/current/doc-html/inst-trouble.html; that will show you, among other things, the current sys.path you're using independent of Django.

Change Date presentation in Admin?

2007-10-18 Thread Nader
Hallo, If you have a attribute in a model which is defined as "models.DateTimeField()" you will get "Date" and "Time" for that attribute in the "Add" or "Change" pages. I have changed the "width" element for that attribute because it was a long string. I have done this by changing of "width"

[Ot] PLEASE CONSIDER TO HELP

2007-10-18 Thread Albert77
Hello, my name is Albert and I'm looking for help. Please visit my web page. www.willmarry.net Thanks Albert --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Need help selecting a Django hosting provider

2007-10-18 Thread David Reynolds
On 17 Oct 2007, at 11:09 pm, Greg wrote: > I'm wanting to hear what people's opinion's are that have used certain > Django hosting providers in the past. What are some of the good > experiences people have had, and also what are some the bad > experiences. Are their any hosting providers that

Re: 0.96 login issue with cookies

2007-10-18 Thread beck917
I got the same problem 2007/10/18, Jarek Zgoda <[EMAIL PROTECTED]>: > > > Robert Šmol napisał(a): > > > I have HomePage with login bar with a form for user to log in. I use > > django.contrib.auth.login to log user in. When I enter it from the > > /accounts/login/ page it works ok. However

Re: 0.96 login issue with cookies

2007-10-18 Thread Jarek Zgoda
Robert Šmol napisał(a): > I have HomePage with login bar with a form for user to log in. I use > django.contrib.auth.login to log user in. When I enter it from the > /accounts/login/ page it works ok. However trying to login from homepage > is not working. I have to do it twice (always). On