Hi karen,
sorry for the delay,i did not notice this mail.To solve this issue, i have
taken the WEEKDAYS_ABBR code from the trunk and added in the
django.utils.dates file.

Regards & Thank you,
Vijay.

On Mon, Sep 15, 2008 at 8:09 PM, Karen Tracey <[EMAIL PROTECTED]> wrote:

> On Mon, Sep 15, 2008 at 1:58 AM, vijay bhaskar <[EMAIL PROTECTED]> wrote:
>
>> I solved that problem.
>>
>>
> How please?  Someone else is running into trouble with WEEKDAYS_ABBR and I
> can't understand why. What fixed the problem for you?
>
> Thanks,
> Karen
>
>
>>>
>>> On Mon, Sep 15, 2008 at 11:07 AM, vijay bhaskar <[EMAIL PROTECTED]>wrote:
>>>
>>>> Hi karen,Thanks for your reply.but the problem is ,there is no
>>>> definition for WEEKDAYS_ABBR in the django.utils.dates.That's the
>>>> reason its throwing error.How can i get rid of this?
>>>>
>>>> Thanks & regards
>>>> Vijay
>>>>
>>>>
>>>> On Sat, Sep 13, 2008 at 5:39 PM, Karen Tracey <[EMAIL PROTECTED]>wrote:
>>>>
>>>>> On Sat, Sep 13, 2008 at 5:28 AM, vijay <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>>
>>>>>> When i'am trying to migrate my application which is wriiten in 0.96
>>>>>> version to 1.0, i encountered the following error message.
>>>>>>
>>>>>>  File "c:\python25\lib\site-packages\django\utils\dateformat.py",
>>>>>> line 127, in D
>>>>>>    return WEEKDAYS_ABBR[self.data.weekday()]
>>>>>> NameError: global name 'WEEKDAYS_ABBR' is not defined
>>>>>>
>>>>>>
>>>>>> Is there any patch available for this? How can i get rid of this
>>>>>> problem?
>>>>>>
>>>>>>
>>>>> Have you modified that file django\utils\dateformat.py?  The one
>>>>> shipped with 1.0 does not have the problem you are seeing since it imports
>>>>> WEEKDAYS_ABBR from where it is defined before using it, see line 14 in:
>>>>>
>>>>>
>>>>> http://code.djangoproject.com/browser/django/tags/releases/1.0/django/utils/dateformat.py
>>>>>
>>>>> (Also the line number reported in your error message does not match
>>>>> what is on that line the shipped version of the file, so something seems 
>>>>> to
>>>>> have happened to alter your 1.0 Django files, or at least this one.)
>>>>>
>>>>> Karen
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to