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
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
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
> 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
>>
>
>>> 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
;>>
>>> 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,
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,
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
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
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'
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
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
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
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
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
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
--~--~-~--~~~---~--~---
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
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
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
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
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
21 matches
Mail list logo