Django Template Question

2009-04-05 Thread codingJoe
Up front, I'm not the most elegant coder, so please forgive. I have a page that is produced using django templates. I used the templates to do the header and footer, but now I'm down into the body of the page. Using the data from my template, I am able to fill the first cell. Is is

Re: Best Convension for dealing with variables needed in every view.

2009-04-05 Thread Darryl Ross
Catching up on my mailing list folders. On 30/03/2009 10:10 AM, IanR wrote: > So if I created my own I could just add it to this list and it would > do what I need. Once my context_processor is made how would I add it > to this list? Something like >

Re: python version

2009-04-05 Thread alexarsh
Thanks for the fast reply. And how can I find all python versions installed on a machine? On Apr 5, 7:21 pm, Alex Gaynor wrote: > On Sun, Apr 5, 2009 at 12:16 PM, knight wrote: > > > Hi, > > > I have 2 servers with my django app: > > The first one

Re: Can I just put user id in session for authorization purpose?

2009-04-05 Thread Malcolm Tredinnick
On Sun, 2009-04-05 at 06:27 -0700, Zeal wrote: > Django's auth is pretty good, however, I need some row-level > authorziation mechnism, like in which department and function that the > certain user could access, so my needs on authrization are pretty > different than default auth model. Thanks!

Re: Pinax with django

2009-04-05 Thread atik
sorry i posted on wrong site. --~--~-~--~~~---~--~~ 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

Re: Pinax with django

2009-04-05 Thread atik
The document doesn't make so much sense. Plz help me to how can i start. --~--~-~--~~~---~--~~ 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

Re: How to get session data from template

2009-04-05 Thread Malcolm Tredinnick
On Sun, 2009-04-05 at 18:03 -0700, Joshua Partogi wrote: > > > On Apr 6, 12:25 am, Antoni Aloy wrote: > > In your render_to_response don't forget to add > > context_instance=RequestContext(request) > > Thanks. So I have to add this everytime I return render_to_response?

Re: Pinax with django

2009-04-05 Thread BraneSKS
atik: You have just barely been waiting for 3 hours for the pinax-users list to respond. It's Saturday and a major release is coming out soon. Please be patient. Someone responded 2 minutes before you posted this message:

Re: How to get session data from template

2009-04-05 Thread Joshua Partogi
On Apr 6, 12:25 am, Antoni Aloy wrote: > In your render_to_response don't forget to add > context_instance=RequestContext(request) Thanks. So I have to add this everytime I return render_to_response? I thought I only add it on my login views. Many thanks

Re: django.contrib.auth user password decryption

2009-04-05 Thread Mike Ramirez
On Sunday 05 April 2009 05:39:37 pm Russell Keith-Magee wrote: > On Sun, Apr 5, 2009 at 6:12 AM, Joshua Partogi wrote: > > On Apr 4, 11:49 pm, Masklinn wrote: > >> On 4 Apr 2009, at 15:38 , Joshua Partogi wrote: > >> > Dear all, > >> > > >> > I

Pinax with django

2009-04-05 Thread atik
I know this is for Pinax users group. But that group is not so active as this and i am not getting response. i have created a django project successfully and then create a directory within the project and put the files extracted from the pinax 0.5.1. When i have tried to run the command- python

Re: django.contrib.auth user password decryption

2009-04-05 Thread Russell Keith-Magee
On Sun, Apr 5, 2009 at 6:12 AM, Joshua Partogi wrote: > > > > On Apr 4, 11:49 pm, Masklinn wrote: >> On 4 Apr 2009, at 15:38 , Joshua Partogi wrote: >> >> > Dear all, >> >> > I already take a look at the django.contrib.auth.models but could not >> >

Re: Validate with PIL

2009-04-05 Thread Peter Douma
I can import from the shell. - Original Message - From: Alex Gaynor To: django-users@googlegroups.com Sent: Sunday, April 05, 2009 6:47 PM Subject: Re: Validate with PIL On Sun, Apr 5, 2009 at 6:37 PM, CrabbyPete wrote: I installed the PIL

Re: Deploying django application

2009-04-05 Thread Daniel Roseman
On Apr 5, 10:04 pm, Oleg Oltar wrote: > Hi! > > I am trying to serve my project using server-spawned processes > > I created file .htaccess in my web_root directory which contains: > AddHandler fastcgi-script .fcgi > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-f >

django forms - JSONRPC API - progress

2009-04-05 Thread lkcl
the basic plan is to provide a generic JSONRPC front-end to Django forms which could conceivably become a de-facto interoperability standard for web 2.0 applications to create, validate and store data in "forms". i've just added "describe" and "describe_errors".

Re: Form wizard - previous step

2009-04-05 Thread eli
No, how to add functionality to back to the previous step without deleting current step's data. regards. On 5 Kwi, 22:39, codecowboy wrote: > Are you asking how to modify the html in the multi-step-form app to > add a button? > > On Apr 5, 4:33 pm, eli

Deploying django application

2009-04-05 Thread Oleg Oltar
Hi! I am trying to serve my project using server-spawned processes I created file .htaccess in my web_root directory which contains: AddHandler fastcgi-script .fcgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ mysite.fcgi/$1 [QSA,L] And also added file mysite.fcgi to

Re: Form wizard - previous step

2009-04-05 Thread codecowboy
Are you asking how to modify the html in the multi-step-form app to add a button? On Apr 5, 4:33 pm, eli wrote: > No, I have one view.. My example is similar to that one from Django > tutorial:http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizar... > >

Re: Form wizard - previous step

2009-04-05 Thread eli
No, I have one view.. My example is similar to that one from Django tutorial: http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/?from=olddocs regards. On 5 Kwi, 21:52, codecowboy wrote: > Do you have one view for each form or do you use one view with

Re: Beginner's Help needed

2009-04-05 Thread Florian Strzelecki
Yes you can ! *WSGI :* Alias /another /path/to/your/phpApplication WSGIScriptAlias / /path/to/file.wsgi *MOD_PYTHON :* Use Location apache directive. I don't remember what to do for php... sorry, but I know that on this way. 2009/4/5 Dougal Matthews > It depends how you

Re: How can I filter query sets in a django template?

2009-04-05 Thread Daniel Roseman
On Apr 5, 8:49 pm, codecowboy wrote: > I posted a question earlier today about circular imports (http:// > groups.google.com/group/django-users/t/6119e979131c8c25).  I now have > a follow question to that.  I've got the following view logic. > > def portal(request): >    

Re: Best JS Library compatibility for Django

2009-04-05 Thread Florian Strzelecki
Hm... look at this : http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.is_ajax HttpRequest.is_ajax()¶ New in Django 1.0: *Please, see the release

Re: How can I filter query sets in a django template?

2009-04-05 Thread Florian Strzelecki
Did you try to look at Inclusion Tag ? http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#inclusion-tags In template you are not allowed to use some python code... but with an inclusion tag, you will be able to write this : {% load related_conferences %} {% related_conferences

Re: Best JS Library compatibility for Django

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 4:02 PM, lodmod@gmail.com wrote: > > What are some JS libraries that people have had good experience with > using in conjunction with Django webapps? > > > > Django will work perfectly fine with any javascript library you choose to use. That being

Best JS Library compatibility for Django

2009-04-05 Thread lodmod....@gmail.com
What are some JS libraries that people have had good experience with using in conjunction with Django webapps? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Beginner's Help needed

2009-04-05 Thread Dougal Matthews
It depends how you mean combine really. You can have them both running on the same server, you can have them share the same database (then you can still manage it with django) Dougal --- Dougal Matthews - @d0ugal http://www.dougalmatthews.com/ 2009/4/5 atik > > Ok.

Re: Form wizard - previous step

2009-04-05 Thread codecowboy
Do you have one view for each form or do you use one view with a large amount of conditional logic (e.g. if stepone then show this form elseif steptwo show this form)? On Apr 5, 1:14 pm, eli wrote: > anybody ? :-) > > regards. > > On 4 Kwi, 11:17, eli

How can I filter query sets in a django template?

2009-04-05 Thread codecowboy
I posted a question earlier today about circular imports (http:// groups.google.com/group/django-users/t/6119e979131c8c25). I now have a follow question to that. I've got the following view logic. def portal(request): scientist_id = 1 s = get_object_or_404(Scientist, pk=scientist_id)

Re: Beginner's Help needed

2009-04-05 Thread atik
Ok. Again Thanks. I will do it. Can i combine django application with PHP? --~--~-~--~~~---~--~~ 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

Re: More beginner questions : model data in public view

2009-04-05 Thread zayatzz
ah.. figured it out already... its the 'lang'.. should be 'lpl' Alan. On Apr 5, 10:39 pm, zayatzz wrote: > Thanks again. Thats pretty much clear to every programmer i guess > (which im not - im just trying to figure out wtf are the programmers > at my work talking

Re: More beginner questions : model data in public view

2009-04-05 Thread zayatzz
Thanks again. Thats pretty much clear to every programmer i guess (which im not - im just trying to figure out wtf are the programmers at my work talking about). Can you clarify me why these do not work : def index(request): lpl = lang.objects.get(id=1) return

Re: Beginner's Help needed

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 3:35 PM, atik wrote: > > Thanks! That is solved. Another Question. > I can only run project at development server. How to run on apache? > > > You can run under Apache using either mod_python or mod_wsgi, start by taking a look at their documentation:

Re: Beginner's Help needed

2009-04-05 Thread atik
Thanks! That is solved. Another Question. I can only run project at development server. How to run on apache? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Beginner's Help needed

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 3:28 PM, atik wrote: > > > here is my urls.py file- > > from django.conf.urls.defaults import * > > urlpatterns = patterns('', >(r'^polls/$', 'mysite.polls.views.index'), >(r'^polls/(?P\d+)/$', 'mysite.polls.views.detail'), >

Re: More beginner questions : model data in public view

2009-04-05 Thread zayatzz
Okay.. the problem was what i suspected, but i thought, that if i filter the results and get object by its id, then it would be ok, since im getting single object. Alan. On Apr 5, 10:25 pm, Alex Gaynor wrote: > On Sun, Apr 5, 2009 at 3:23 PM, zayatzz

Re: Beginner's Help needed

2009-04-05 Thread atik
here is my urls.py file- from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^polls/$', 'mysite.polls.views.index'), (r'^polls/(?P\d+)/$', 'mysite.polls.views.detail'), (r'^polls/(?P\d+)/results/$', 'mysite.polls.views.results'), (r'^polls/(?P\d+)/vote/$',

Re: More beginner questions : model data in public view

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 3:23 PM, zayatzz wrote: > > Hello > > I have created app for public view or well.. the whole site actually, > but its somehow not working. > > I have this in views.py > > def index(request): >lpl = lang.objects.filter(id=1) >t =

More beginner questions : model data in public view

2009-04-05 Thread zayatzz
Hello I have created app for public view or well.. the whole site actually, but its somehow not working. I have this in views.py def index(request): lpl = lang.objects.filter(id=1) t = loader.get_template('front/index.html') c = Context({ 'lpl': lpl

Re: Beginner's Help needed

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 3:17 PM, atik wrote: > > Hello! > I am new to django and using version 1.0.1. I have done some basics > shown on official target='_blank'>tutorials. I have a question: Every > thing is quite ok to me except that when i have come through part two > of

Multiple Database in 1.0.2 with custom manager

2009-04-05 Thread Justin
I am trying to setup a custom manager to connect to another database on the same server as my default mysql connection. I have tried following the examples here http://groups.google.com/group/django-developers/browse_thread/thread/5d8c73eb483029af/19b19ed79bbbfa0d and here

Beginner's Help needed

2009-04-05 Thread atik
Hello! I am new to django and using version 1.0.1. I have done some basics shown on official tutorials. I have a question: Every thing is quite ok to me except that when i have come through part two of the tutorial (a admin site) it gives me admin interface. But after finishing part three and

Re: Model A imports Model B imports Model A - I'm completely lost as to how to get around circular imports

2009-04-05 Thread codecowboy
Doug, Thank you so much. I completely missed that detail while ripping through the django docs. I've got it all working now. Ramiro, thanks again for your help. For anyone else who is trying to do this and stumbles upon this thread, here is my full final solution. --- Overview --- I've got

Re: cx_Oracle django and "dumb" connect

2009-04-05 Thread Mike RA9FTM
Thank you for your answer. I think it will be a problem, beacuse I am already using postgresql database in my django project. On 5 апр, 17:02, Alex Gaynor wrote: > > Instead of importing cx_oracle directly you should do `from django.db import > connection` which gets you

Re: Model A imports Model B imports Model A - I'm completely lost as to how to get around circular imports

2009-04-05 Thread Doug B
Take a look at this part of the documentation: http://docs.djangoproject.com/en/dev/topics/db/queries/#backwards-related-objects --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: django.contrib.auth user password decryption

2009-04-05 Thread Adam N
A good solution is to reset the password through the screen. 1. Validate the user through some sort of test (secret question or something). 2. Then send them to a screen where they can reset the password themselves to whatever they want. 3. Initiate an email to the stored email address notifying

Re: cx_Oracle django and "dumb" connect

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 12:59 PM, Mike RA9FTM wrote: > > Hi. I need direct connection to oracle for import some information > sometimes. > Here is what I do for first test: > > > def orcl_test(request): >connstr='scott/ti...@orcl' >conn = cx_Oracle.connect(connstr) >

cx_Oracle django and "dumb" connect

2009-04-05 Thread Mike RA9FTM
Hi. I need direct connection to oracle for import some information sometimes. Here is what I do for first test: def orcl_test(request): connstr='scott/ti...@orcl' conn = cx_Oracle.connect(connstr) curs = conn.cursor() curs.execute('select * from dept') rows = [row[2] for row

Re: Using form validation to prevent deletion no longer works (after rev 10206/ticket #9587)

2009-04-05 Thread Dan Tallis
2009/4/5 Karen Tracey : > Forgot the link to that other ticket [1]: > > http://code.djangoproject.com/ticket/10711 Thanks for the response, Karen. I've posted to django-developers. I think ticket 10711 is only very loosely related. Dan

Re: python version

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 12:16 PM, knight wrote: > > Hi, > > I have 2 servers with my django app: > The first one has python2.5 as default python and the second don't (It > has python2.5 installed together with the older version). > I want to run dumpdata from my application

python version

2009-04-05 Thread knight
Hi, I have 2 servers with my django app: The first one has python2.5 as default python and the second don't (It has python2.5 installed together with the older version). I want to run dumpdata from my application and I have the following problem: If I call: "python manage.py dumpdata" the second

Best way to add a custom Admin form inline

2009-04-05 Thread Oni
Hi all. After a lot of pondering and reading around, I am somewhat stuck with this problem. I have a model that requires the creation of both an image and an initial thumbnail. The thumbnail needs user intervention as some images will require different approaches to get the best result. My aim

Re: Easy way to create pretty pages with nav?

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 11:38 AM, zayatzz wrote: > > Im just as new and i ran into exactly the same problem. > > As it seems, some people suggest to create new app for just font page > (or generic public view) and create index.html as this apps front page > template. >

Re: Easy way to create pretty pages with nav?

2009-04-05 Thread zayatzz
Im just as new and i ran into exactly the same problem. As it seems, some people suggest to create new app for just font page (or generic public view) and create index.html as this apps front page template. I think it is possible to create views.py and index.html for the project too. Im sure

Re: Using form validation to prevent deletion no longer works (after rev 10206/ticket #9587)

2009-04-05 Thread Karen Tracey
Forgot the link to that other ticket [1]: http://code.djangoproject.com/ticket/10711 Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Using form validation to prevent deletion no longer works (after rev 10206/ticket #9587)

2009-04-05 Thread Karen Tracey
On Sun, Apr 5, 2009 at 9:40 AM, Dan Tallis wrote: > > In my application I have a formset with can_delete. Some custom > validation is performed on submit, to determine whether the forms > selected by the user for deletion can be deleted -- i.e. I have a > custom clean()

Re: Model A imports Model B imports Model A - I'm completely lost as to how to get around circular imports

2009-04-05 Thread Ramiro Morales
On Sun, Apr 5, 2009 at 11:43 AM, codecowboy wrote: > > Hi Everyone, > > I'm new to the Django community and I am having trouble with circular > imports.  I've read every article that I can find about the issue > including posts on this group.  I'm going to paste my model

Easy way to create pretty pages with nav?

2009-04-05 Thread dartdog1
Ok I'm super new, skimmed the doc & tutorial but I just can't figure out how to go about really building the Public view side? I don't see how to apply simple css. how to set up simple stuff like navigation tabs and links... I'm implementing on GAE with the AEP and have gotten the sample app up

Model A imports Model B imports Model A - I'm completely lost as to how to get around circular imports

2009-04-05 Thread codecowboy
Hi Everyone, I'm new to the Django community and I am having trouble with circular imports. I've read every article that I can find about the issue including posts on this group. I'm going to paste my model files and the stack trace. I'm sure that this must be an issue that has come up

Re: How to get session data from template

2009-04-05 Thread Antoni Aloy
2009/4/5 Joshua Partogi : > > Dear all, > > I'd like to get session object because I would like to figure out > whether a user is still logged in or not. I tried searching the > documents but could not find a way to do it. > Using {% if user.is_authenticated %}, the user

How to get session data from template

2009-04-05 Thread Joshua Partogi
Dear all, I'd like to get session object because I would like to figure out whether a user is still logged in or not. I tried searching the documents but could not find a way to do it. Using {% if user.is_authenticated %}, the user object is only available in one request but will be dissapeared

Using form validation to prevent deletion no longer works (after rev 10206/ticket #9587)

2009-04-05 Thread Dan Tallis
In my application I have a formset with can_delete. Some custom validation is performed on submit, to determine whether the forms selected by the user for deletion can be deleted -- i.e. I have a custom clean() method on the form to decide whether deletion is permitted (based on various bits of

Re: Can I just put user id in session for authorization purpose?

2009-04-05 Thread Zeal
Django's auth is pretty good, however, I need some row-level authorziation mechnism, like in which department and function that the certain user could access, so my needs on authrization are pretty different than default auth model. Thanks! --~--~-~--~~~---~--~~

Re: Novice. - _unicode_(self) not working. :(

2009-04-05 Thread Antoni Aloy
2009/4/5 Nandha : > > Hi, > > I just started trying out Django. I am new to python too.!! > > I started with poll app in the tutorial. > > Adding _unicode_(self):  does not seem to change anything. I saw that > it could be because i am using older version so i followed the >

Novice. - _unicode_(self) not working. :(

2009-04-05 Thread Nandha
Hi, I just started trying out Django. I am new to python too.!! I started with poll app in the tutorial. Adding _unicode_(self): does not seem to change anything. I saw that it could be because i am using older version so i followed the installation guide and installed the development

Re: Admin view: History log

2009-04-05 Thread Karen Tracey
On Sun, Apr 5, 2009 at 4:08 AM, EagerToUnderstand wrote: > > With regards to the history log on models in the admin view. > > I am adding instances of models via the db api (model.save()) > method. When such a model is opened (but not edited) and then saved > for the first

Re: Problem with adding new columns to existing model.

2009-04-05 Thread zayatzz
Thanks to both of you. Yeah i noticed the part about alter table and doing it manually. I just hoped there is some kind of command to update the model. Just python manage.py sql appname did not work - it showed the new additions i did to model, but they did not end up in database after syncdb.

Re: Why is mod_python the preferred setup for Django?

2009-04-05 Thread Daniel Roseman
On Apr 5, 12:22 pm, Continuation wrote: > According to > thishttp://docs.djangoproject.com/en/1.0/howto/deployment/modpython/ > "Apache with mod_python currently is the preferred setup for using > Django on a production server." > > What is the advantage of mod_python

Re: Problem with adding new columns to existing model.

2009-04-05 Thread Daniel Roseman
On Apr 5, 11:26 am, zayatzz wrote: > Hello > > After finishing tutorial im trying to do something for myself. I > created one model and proceeded to create another ones, but then i > realised that i could just add few additional columns to existing > model, but for

Why is mod_python the preferred setup for Django?

2009-04-05 Thread Continuation
According to this http://docs.djangoproject.com/en/1.0/howto/deployment/modpython/ "Apache with mod_python currently is the preferred setup for using Django on a production server." What is the advantage of mod_python over mod_wsgi and mod_fcgi? Wouldn't WSGI, as something designed

Re: http 404 is replaced by http 500----------Django-1.0.2-final

2009-04-05 Thread Coonay
On Mar 14, 12:30 pm, Malcolm Tredinnick wrote: > On Fri, 2009-03-13 at 21:27 -0700, Flank wrote: > > in order to use django/conf/urls/defaults.py, handler404, i did 2 > > things: > > 1:change DEBUG = False in settings.py > > 2:create a 404.html template in the root of

Re: http 404 is replaced by http 500----------Django-1.0.2-final

2009-04-05 Thread Coonay
sory, there is a miss of the contrib.auth in my enviroment,which is deleted by me when i setup, now ,404 error can be return normally. thank you all On Mar 15, 8:21 am, Fergus wrote: > On 14 Mar, 04:30, Malcolm Tredinnick wrote: > > > On

Re: http 404 is replaced by http 500----------Django-1.0.2-final

2009-04-05 Thread Coonay
On Mar 15, 8:21 am, Fergus wrote: > On 14 Mar, 04:30, Malcolm Tredinnick wrote: > > > On Fri, 2009-03-13 at 21:27 -0700, Flank wrote: > > > in order to use django/conf/urls/defaults.py, handler404, i did 2 > > > things: > > > 1:change DEBUG

Re: Getting id of item before it recorded (or something else to solve my problem)

2009-04-05 Thread Daniel Roseman
On Apr 5, 11:38 am, MiratCanBayrak wrote: > here, i have a function that used as a upload_to parameter in my > model. But i records my pic as screenshot_None.gif. Becouse id is > appearing when it is recorded. How can i record my images as > screenshot_id.gif ?? thanks

Re: Getting id of item before it recorded (or something else to solve my problem)

2009-04-05 Thread MiratCanBayrak
any ideas ? solutions? --~--~-~--~~~---~--~~ 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

Getting id of item before it recorded (or something else to solve my problem)

2009-04-05 Thread MiratCanBayrak
here, i have a function that used as a upload_to parameter in my model. But i records my pic as screenshot_None.gif. Becouse id is appearing when it is recorded. How can i record my images as screenshot_id.gif ?? thanks for your response from os.path import join, exists from os import remove

Problem with adding new columns to existing model.

2009-04-05 Thread zayatzz
Hello After finishing tutorial im trying to do something for myself. I created one model and proceeded to create another ones, but then i realised that i could just add few additional columns to existing model, but for some reason they dont end up in database table when i run python manage.py.

Upload from client machine to server in Django 0.95

2009-04-05 Thread Mike
Hello, I am using Django 0.95 and need to upload from from client machine to server. I wonder if anyone can point me to sample implementation or any pointer that may help me to implement it. I know file upload is there in Django 1.0 but its not possible for me to move the project to Django 1.0.

Re: django.contrib.auth user password decryption

2009-04-05 Thread soniiic
I hope that doesn't mean storing the real password in a table in the database :) On Apr 4, 11:12 pm, Joshua Partogi wrote: > On Apr 4, 11:49 pm, Masklinn wrote: > > > > > > > > > On 4 Apr 2009, at 15:38 , Joshua Partogi wrote: > > > > Dear all, > >

Admin view: History log

2009-04-05 Thread EagerToUnderstand
With regards to the history log on models in the admin view. I am adding instances of models via the db api (model.save()) method. When such a model is opened (but not edited) and then saved for the first time in the admin model view a history log entry is created showing ALL elements of the

Re: Cannot reverse inside urls.py

2009-04-05 Thread robin
Thank you all for your suggestions. I did not explain clearly what I was trying to do. So here's another eg. (with simpler unworkable syntax) url(add/complete, direct_to_template, template=message.html, name=add_complete, extra_context={ title:Add Complete, url:[reverse(add_item),