Error Reporting to Admin-settings

2020-01-01 Thread bernard asibu
Hi everyone, I need help with configuring settings to report error from a site in production to the admin. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send

Re: problem with admin settings

2012-03-20 Thread Swaroop Shankar V
t;>>>> On Saturday, March 17, 2012 2:23:10 PM UTC-7, Swaroop Shankar wrote: >>>>>> >>>>>> Sophia, >>>>>> Please check if you have enabled the app 'django.contrib.sessions' in >>>>>> your INSTALLED_APPS, if

Re: problem with admin settings

2012-03-19 Thread Sophia
ck if you have enabled the app 'django.contrib.sessions' in >>>>> your INSTALLED_APPS, if not do that and then do a syncdb, this issue >>>>> should >>>>> be resolved. >>>>> >>>>> Thanks and Regards, >>&g

Re: problem with admin settings

2012-03-18 Thread Swaroop Shankar V
> Please check if you have enabled the app 'django.contrib.sessions' in >>>> your INSTALLED_APPS, if not do that and then do a syncdb, this issue should >>>> be resolved. >>>> >>>> Thanks and Regards, >>>> Swaroop Shankar V >>

Re: problem with admin settings

2012-03-18 Thread Sophia
> >>> Sophia, >>> Please check if you have enabled the app 'django.contrib.sessions' in >>> your INSTALLED_APPS, if not do that and then do a syncdb, this issue should >>> be resolved. >>> >>> Thanks and Regards, >>> Swaroop

Re: problem with admin settings

2012-03-18 Thread Martynas Sklizmantas
;>> >>> On Saturday, March 17, 2012 2:23:10 PM UTC-7, Swaroop Shankar wrote: >>>> >>>> Sophia, >>>> Please check if you have enabled the app 'django.contrib.sessions' in >>>> your INSTALLED_APPS, if not do that and then do a syncdb,

Re: problem with admin settings

2012-03-18 Thread Sophia
app 'django.contrib.sessions' in >>> your INSTALLED_APPS, if not do that and then do a syncdb, this issue should >>> be resolved. >>> >>> Thanks and Regards, >>> Swaroop Shankar V >>> >>> >>> >>> On Sun, Mar 18,

Re: problem with admin settings

2012-03-17 Thread Swaroop Shankar V
that and then do a syncdb, this issue should >> be resolved. >> >> Thanks and Regards, >> Swaroop Shankar V >> >> >> >> On Sun, Mar 18, 2012 at 2:41 AM, Sophia wrote: >> >>> Hi all, >>> >>> I'm trying to set my admin

Re: problem with admin settings

2012-03-17 Thread Sophia
not do that and then do a syncdb, this issue should > be resolved. > > Thanks and Regards, > Swaroop Shankar V > > > > On Sun, Mar 18, 2012 at 2:41 AM, Sophia wrote: > >> Hi all, >> >> I'm trying to set my admin settings so I will get the web pag

Re: problem with admin settings

2012-03-17 Thread Swaroop Shankar V
Sophia, Please check if you have enabled the app 'django.contrib.sessions' in your INSTALLED_APPS, if not do that and then do a syncdb, this issue should be resolved. Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 2:41 AM, Sophia wrote: > Hi all, > > I'

problem with admin settings

2012-03-17 Thread Sophia
Hi all, I'm trying to set my admin settings so I will get the web page asking for user name and password, I did all the settings that is needed and mentioned in the online django book(chapter6), but the page keep giving me this error : Exception Type: DatabaseError Exception Value: no

Re: Admin Settings

2009-10-15 Thread freeav8r
Creating a function off the model worked great! --- On Wed, 10/14/09, Bayuadji wrote: > From: Bayuadji > Subject: Re: Admin Settings > To: django-users@googlegroups.com > Date: Wednesday, October 14, 2009, 11:52 PM > > or create a function that return > object.foreign_k

Re: Admin Settings

2009-10-14 Thread Bayuadji
or create a function that return object.foreign_key.field1. then use the function in list_display cheers. -djibon- On 10/14/09, justquick wrote: > > try using 'foreign_key__field1' instead > > On Oct 14, 12:04 pm, freeav8r wrote: >> Is it possible to do something like this: >> >> class MyModel

Re: Admin Settings

2009-10-14 Thread justquick
try using 'foreign_key__field1' instead On Oct 14, 12:04 pm, freeav8r wrote: > Is it possible to do something like this: > > class MyModelAdmin(admin.ModelAdmin): >     list_display = (‘field1’, field2’, ‘foreign_key’, ‘foreign_key.field1’, > foreign_key.field2’,) > > admin.site.register(MyMode

Admin Settings

2009-10-14 Thread freeav8r
Is it possible to do something like this: class MyModelAdmin(admin.ModelAdmin): list_display = (‘field1’, field2’, ‘foreign_key’, ‘foreign_key.field1’, foreign_key.field2’,) admin.site.register(MyModel, MyModelAdmin) ‘foreign_key’ works just fine, but ‘foreign_key.field1’ and ‘foreign_key

Re: about django-admin settings

2007-07-10 Thread jujian
Thanks! moving project to d:\python25\lib\site-packages worked. I find out that I just confused PYTHONPATH with sys.path use the command below worked too... set PYTHONPATH=d:\order set DJANGO_SETTINGS_MODULE=newtest.settings --~--~-~--~~~---~--~---

Re: about django-admin settings

2007-07-10 Thread [EMAIL PROTECTED]
Have you tried setting the PATH using Windows's Control Panel -> System -> Advanced -> Environment Variables? You can edit the PATH variable and add your project's directory to that variable, which may help. If not, you could just move your project to d:\python25\lib\site- packages. Derek On Jul

Re: about django-admin settings

2007-07-10 Thread jujian
still does not work ... I have set the environment variable PYTHONPATH to the parent directory of the mysite. ... raise EnvironmentError, "Could not import settings '%s' (Is it on sys.path? does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e) environmentError: Could not import settin

Re: about django-admin settings

2007-07-08 Thread Aidas Bendoraitis
Set the environment variable PYTHONPATH to the parent directory of the mysite. That should help you. Regards, Aidas Bendoraitis aka Archatas On 7/9/07, jujian <[EMAIL PROTECTED]> wrote: > > HELP! > > > > > --~--~-~--~~~---~--~~ You received this message becaus

Re: about django-admin settings

2007-07-08 Thread jujian
HELP! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more

about django-admin settings

2007-07-08 Thread jujian
I try to use django-admin.py runserver --settings=mysite.settings in Windows shell(cmd.exe) it tells me that : raise EnvironmentError, "Could not import settings '%s' (Is it on sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e) EnvironmentError: Could not import settings