(Feature Request) Add creation and updation timestamp fields to Redirect Model

2017-02-01 Thread Ashish Gupta
The existing Redirect Model has no field for creation and updation timestamp. Many Django applications use slug based urls, and a redirect is created whenever slug changes. The redirects table will keep expanding and there will be no way to identify or delete the old redirects later, may be aft

Re: Mongo related issue in Django

2015-06-23 Thread Ashish Khatkar
On Tuesday, June 23, 2015 at 2:53:45 PM UTC-4, Ashish Khatkar wrote: >> >> Hi, >> This is my settings.py >> """ >> Django settings for testApp project. >> >> Generated by 'django-admin startproject' using Django 1.8.2. >> >

Re: Mongo related issue in Django

2015-06-23 Thread Ashish Khatkar
code='invalid', params={'value': value}, ) Changes I did in django/db/models/fields/__init__.py try: request.session[SESSION_KEY] = user._meta.pk.value_to_string(user) except Exception: request.session[SESSION_KEY] = user.i

Mongo related issue in Django

2015-06-23 Thread Ashish Khatkar
Hi, Today I was trying to do user authentication with Django + MongoDB. I was constantly getting "Metadict object has no attribute pk" error. I searched for the fix but nothing helped. In the end, I read the implementation of login function and changed request.session[SESSION_KEY] = user._meta.

editing django-admin.py

2009-08-12 Thread ashish tiwari
when i try to run the "django-admin.py" file in my pardus linux system than i got the error"c:\python25\python.exebad interpreter" something like this... i enter the command "whereis django-admin.py" and i got the path where it is present... i open the .py file of django-admin.py from usr/

Re: Django releases

2008-06-08 Thread Ashish
ing the 1.0 milestone and not the code changes or discussions. Ashish On Jun 8, 8:00 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Sun, Jun 8, 2008 at 9:51 PM, Ashish <[EMAIL PROTECTED]> wrote: > >  my proposal is > > You do know that a list of what has

Re: Django releases

2008-06-08 Thread Ashish
is very hard to estimate in software even when you are working full time let alone part time. We all appreciate the great work core developers are doing and we all want django to be a huge success. thanks Ashish --~--~-~--~~~---~--~~ You received this message