#4440: [oracle] Error when creating a new record using Admin interface
------------------------------------+---------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian         
  Status:  new                      |   Component:  Admin interface
 Version:  other branch             |    Keywords:                 
   Stage:  Unreviewed               |   Has_patch:  0              
------------------------------------+---------------------------------------
 When I try to add a record using the admin interface, it fails with this
 error message.
 I'm using Oracle XE on windows.
 
 {{{
 AttributeError at /admin/
 'NoneType' object has no attribute 'empty_strings_allowed'
 Request Method: GET
 Request URL: http://192.168.1.109:8080/admin/
 Exception Type: AttributeError
 Exception Value: 'NoneType' object has no attribute
 'empty_strings_allowed'
 Exception Location: c:\Python24\Lib\site-
 packages\django\db\backends\oracle\base.py in resolve_columns, line 473
 
 Template error
 In template C:\Python24\lib\site-
 packages\django\contrib\admin\templates\admin/index.html, error at line 56
 
 Caught an exception while rendering: 'NoneType' object has no attribute
 'empty_strings_allowed'
 46 </div>
 
 47 {% endblock %}
 
 48
 49 {% block sidebar %}
 
 50 <div id="content-related">
 
 51     <div class="module" id="recent-actions-module">
 
 52         <h2>{% trans 'Recent Actions' %}</h2>
 
 53         <h3>{% trans 'My Actions' %}</h3>
 
 54             {% load log %}
 
 55             {% get_admin_log 10 as admin_log for_user user %}
 
 56             {% if not admin_log %}
 
 57             <p>{% trans 'None available' %}</p>
 
 58             {% else %}
 
 59             <ul class="actionlist">
 
 60             {% for entry in admin_log %}
 
 61                 <li class="{% if entry.is_addition %}addlink{% endif
 %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion
 %}deletelink{% endif %}">{% if not entry.is_deletion %}<a href="{{
 entry.get_admin_url }}">{% endif %}{{ entry.object_repr|escape }}{% if not
 entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{{
 entry.content_type.name|capfirst|escape }}</span></li>
 
 62             {% endfor %}
 
 63             </ul>
 
 64             {% endif %}
 
 65     </div>
 
 66 </div>
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4440>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to