Re: password reset

2012-10-17 Thread Larry Martell
Thanks for the info. I'm on vacation for 3 weeks. I'll revisit this when I return. On Wednesday, October 17, 2012, Russell Keith-Magee wrote: > Hi Larry, > > Yes - you'll need to configure the SMTP host, port and any login > credentials. The exact settings required will depend on how you've got

Re: [ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread ptone
Seems to be there: http://pypi.python.org/pypi/Django/1.3.4 and pip installs it fine. pypi will always favor the latest version -Preston On Wednesday, October 17, 2012 4:37:12 PM UTC-7, Ross Poulton wrote: > > Django==1.3.4 doesn't appear to be on Pypi, is it likely to be there soon? > > On

Re: Help getting my GeoDjango setup.

2012-10-17 Thread JJ Zolper
That's okay my website has not moved that far into the distance yet it's still pretty elementary so all the data in my database has been put there by me anyways. I can set up a new database. I see here: https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#ref-gis-install that I

Re: [ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread Ariel Calzada
How to upgrade? El 17/10/2012 18:37, "Ross Poulton" escribió: > Django==1.3.4 doesn't appear to be on Pypi, is it likely to be there soon? > > On Thursday, 18 October 2012 09:38:49 UTC+11, James Bennett wrote: >> >> Django 1.4.2 and 1.3.4 have just been released in response to a

Re: [ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread Ross Poulton
Django==1.3.4 doesn't appear to be on Pypi, is it likely to be there soon? On Thursday, 18 October 2012 09:38:49 UTC+11, James Bennett wrote: > > Django 1.4.2 and 1.3.4 have just been released in response to a > security issue reported to us. > > Details are here: > >

Re: password reset

2012-10-17 Thread Russell Keith-Magee
Hi Larry, Yes - you'll need to configure the SMTP host, port and any login credentials. The exact settings required will depend on how you've got postfix configured, but the full list of settings that *may* be required is listed here:

Re: Better feedback for admin users

2012-10-17 Thread Marc Aymerich
On Wed, Oct 17, 2012 at 12:21 AM, Daniele Procida wrote: > I am starting to customise the admin classes for my models so that I can > provide extra feedback to the user. > > For example I want to report - in the admin page - useful information about > how the system will

[ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread James Bennett
Django 1.4.2 and 1.3.4 have just been released in response to a security issue reported to us. Details are here: https://www.djangoproject.com/weblog/2012/oct/17/security/ Everyone is encouraged to upgrade. -- You received this message because you are subscribed to the Google Groups "Django

Re: Better feedback for admin users

2012-10-17 Thread Lachlan Musicman
On Thu, Oct 18, 2012 at 12:28 AM, Bill Freeman wrote: > On Tue, Oct 16, 2012 at 6:21 PM, Daniele Procida wrote: >> I am starting to customise the admin classes for my models so that I can >> provide extra feedback to the user. >> >> For example I want to

Re: Does pagination has to load all objects before showing the pages?

2012-10-17 Thread Bill Freeman
Look for somewhere that you're evaluating the queryset. Pagination doesn't need to evaluate it, since it can slice it, which turns into a start and a limit on the database side. Beware of using len() on a queryset (evaluates, IIRC), use qs.count() instead (done on the DB). On Wed, Oct 17, 2012

Re: Most widely used documentation source for Django Projects?

2012-10-17 Thread Robert Steckroth
And it turned out nice too! :) http://django-template3d.readthedocs.org/en/latest/index.html# On Sun, Oct 14, 2012 at 9:26 PM, Robert Steckroth wrote: > Ohh, hey, thanks. It was working this morning and performed flawlessly. > I could not be more happy with the

Re: User can't edit anything

2012-10-17 Thread Shawn H
I figured it out. I checked the database, and somehow in the process of developing my app, I had registered the model twice, and then I removed the first model. The admin app was picking up the first model, not the second, and since the first model was gone, there was nothing to edit. Since

Re: User can't edit anything

2012-10-17 Thread Shawn H
Just as a test, I deleted the user, and created a new one, and issued the appropriate permissions. Same result. No permission to edit anything. On Wednesday, October 17, 2012 9:30:18 AM UTC-5, Shawn H wrote: > > Good test. The user that can't edit without superuser status *is* able > to edit

Re: 'FormSet' object has no attribute 'save'

2012-10-17 Thread Satinderpal Singh
On Wed, Oct 17, 2012 at 4:49 PM, Tom Evans wrote: > On Wed, Oct 17, 2012 at 7:06 AM, Satinderpal Singh > wrote: >> I used formsets for different forms in my project, it displays the >> forms to user but on submitting the form it gives the

Does pagination has to load all objects before showing the pages?

2012-10-17 Thread Bastian
I need to paginate a list of images that is getting bigger and bigger and is loading slowly. I tried the simple django-pagination module but even the first page takes as long as the whole list to load. I was wondering where to look but then thought maybe this pagination app only takes the whole

Re: User can't edit anything

2012-10-17 Thread Shawn H
Good test. The user that can't edit without superuser status *is* able to edit the model with superuser status. Not sure where that leaves me, but at least we ruled out one potential issue. Thanks. On Tuesday, October 16, 2012 6:24:04 PM UTC-5, Nikolas Stevenson-Molnar wrote: > > Out of

Re: How to get oracle NUMBER with syncdb

2012-10-17 Thread Jani Tiainen
17.10.2012 14:28, Michał Nowotka kirjoitti: Even if I don't mention inspectdb the problem still persists. The basic question is how to map oracle NUMBER type from some model type. If I understand this correctly, currently this is not supported. In principle models.FloatField should handle it and

Re: New tutorial added to Django by Example

2012-10-17 Thread Stephen Anto
Could you give in detail, what issue you have faced? On Tue, Oct 16, 2012 at 9:55 PM, go scholarship < the.scholarship...@gmail.com> wrote: > hi, im using django 1.4 and when i follow you tutorial > http://lightbird.net/dbe/todo_list.html associating users with tasks did > not work well > > user

Re: How to sync data between two DBs

2012-10-17 Thread m1chael
http://dev.mysql.com/doc/refman/5.0/en/replication.html does this work? On Wed, Oct 17, 2012 at 8:00 AM, Alexander Todorov wrote: > On Tuesday, October 16, 2012 6:54:52 PM UTC+3, Nikolas Stevenson-Molnar > wrote: >> >> Do you already have data on the new database which

password reset

2012-10-17 Thread Larry Martell
I'm trying to set up the password reset stuff, following what I read at: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature When I click on the 'Reset my password' button, I get: SMTPServerDisconnected at /admin/password_reset/ please run connect() first

Re: Better feedback for admin users

2012-10-17 Thread Bill Freeman
On Tue, Oct 16, 2012 at 6:21 PM, Daniele Procida wrote: > I am starting to customise the admin classes for my models so that I can > provide extra feedback to the user. > > For example I want to report - in the admin page - useful information about > how the system will

Re: How to sync data between two DBs

2012-10-17 Thread Alexander Todorov
On Tuesday, October 16, 2012 6:54:52 PM UTC+3, Nikolas Stevenson-Molnar wrote: > > Do you already have data on the new database which you need to preserve? > If not, would a simple SQL dump work? > > It will work but this is not the best solution I can think of (I'm not MySQL guru). The

Sphinx code validation for Django projects

2012-10-17 Thread Martin Winkler
I have a Django project with a couple of apps - all of them with 100% coverage unit tests. Recently I started documenting the whole thing in a new directory called "docs" using reST and Sphinx. I create the html files using the normal approach: make html. Since there are a couple of code

Re: Recommend a way to add my own class into DjanGo

2012-10-17 Thread Bill Freeman
This is a python question, not specifically a Django question. I suggest that you work through the following tutorial: http://docs.python.org/tutorial/index.html On Wed, Oct 17, 2012 at 8:16 AM, Django Newbie wrote: > Hey guys, > > I want to create a custom class

Re: Django Redirection Help

2012-10-17 Thread Bill Freeman
On Wed, Oct 17, 2012 at 4:45 AM, lovetoprogram wrote: > Hi, > > I am new to Django and I was creating a basic site with it. But I have > encountered a problem. > > In the following code, I have a webpage with form and when submit button is > clicked, the parameters have to

Recommend a way to add my own class into DjanGo

2012-10-17 Thread Django Newbie
Hey guys, I want to create a custom class with methods I will be able to access everywhere in my Views. For example a class that add numbers after declaring it somewhere in Django. *MyNumber = new GenNumberClass()* *MyNumber.setNumbers(1,2)* *result = MyNumber.getAddedResult()* Please point

Re: Cant Import mysite.urls

2012-10-17 Thread Tom Evans
On Tue, Oct 16, 2012 at 5:20 PM, go scholarship wrote: > i'am using django 1.4, and i just want to get currently logged in user,and > associating those users with tasks. If you have questions, please send a new email to the list, do not hijack threads by arbitrarily

Re: Django Redirection Help

2012-10-17 Thread Tom Evans
On Wed, Oct 17, 2012 at 9:45 AM, lovetoprogram wrote: > Hi, > > I am new to Django and I was creating a basic site with it. But I have > encountered a problem. > > In the following code, I have a webpage with form and when submit button is > clicked, the parameters have to

Re: How to get oracle NUMBER with syncdb

2012-10-17 Thread Michał Nowotka
Anyway, Jani, thank you for pointing me to the software, I will give it a try. -- 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: How to get oracle NUMBER with syncdb

2012-10-17 Thread Michał Nowotka
Even if I don't mention inspectdb the problem still persists. The basic question is how to map oracle NUMBER type from some model type. If I understand this correctly, currently this is not supported. In principle models.FloatField should handle it and give and option to decide if the filed should

Re: WebPage with MsSql access

2012-10-17 Thread Tom Evans
On Wed, Oct 17, 2012 at 10:34 AM, Markus Christen wrote: > Hi all > I have to make a WebPage with Django. It must be possible to connect from > the page to the mssql database. i have an odbc program know atm, and this > works... > - > import pyodbc > > cnxn =

Re: 'FormSet' object has no attribute 'save'

2012-10-17 Thread Tom Evans
On Wed, Oct 17, 2012 at 7:06 AM, Satinderpal Singh wrote: > I used formsets for different forms in my project, it displays the > forms to user but on submitting the form it gives the following error: > 'chem_analysisFormFormSet' object has no attribute 'save'. I

Re: How to get oracle NUMBER with syncdb

2012-10-17 Thread Jani Tiainen
17.10.2012 12:15, Michał Nowotka kirjoitti: Hello, I have some legacy oracle database against which I run inspectdb command. One column in the DB has type NUMBER (without precision and scale) and what I got from django is: entity_id = models.DecimalField(unique=True, null=True, max_digits=0,

WebPage with MsSql access

2012-10-17 Thread Markus Christen
Hi all I have to make a WebPage with Django. It must be possible to connect from the page to the mssql database. i have an odbc program know atm, and this works... - import pyodbc cnxn = pyodbc.connect('DRIVER={SQL Server}; SERVER=MAURITIUS;DATABASE=baan5c;UID=portal;PWD=P0rtalReader')

How to get oracle NUMBER with syncdb

2012-10-17 Thread Michał Nowotka
Hello, I have some legacy oracle database against which I run inspectdb command. One column in the DB has type NUMBER (without precision and scale) and what I got from django is: entity_id = models.DecimalField(unique=True, null=True, max_digits=0, decimal_places=-127, blank=True) If I now run

Django Redirection Help

2012-10-17 Thread lovetoprogram
Hi, I am new to Django and I was creating a basic site with it. But I have encountered a problem. In the following code, I have a webpage with form and when submit button is clicked, the parameters have to be passed into a results page for display. When I keep render_to_response of the

'FormSet' object has no attribute 'save'

2012-10-17 Thread Satinderpal Singh
I used formsets for different forms in my project, it displays the forms to user but on submitting the form it gives the following error: 'chem_analysisFormFormSet' object has no attribute 'save'. I don't know how to save the formset in the views. Here is the code of my views file of my project:

Trying to send key value pair to perl script using subprocess

2012-10-17 Thread Pervez Mulla
Hi, I am trying to send key:value pair to perl script via sub-process module . I just tried with simple example it works fine. How can I pass key:value pair to perl script .? Ans also how can send multiple input fields value to perls script> Below is my code view.py