Opened 11 years ago

Closed 11 years ago

#4440 closed (fixed)

[oracle] Error when creating a new record using Admin interface

Reported by: pradeep.gowda@… Owned by: Adrian Holovaty
Component: contrib.admin Version: other branch
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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: 
Exception Type: AttributeError 
Exception Value: 'NoneType' object has no attribute 'empty_strings_allowed' 
Exception Location: c:\Python24\Lib\site-packages\django\db\backends\oracle\ 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 %}
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">{{|capfirst|escape }}</span></li>
62             {% endfor %}
63             </ul>
64             {% endif %}
65     </div>
66 </div>

Change History (1)

comment:1 Changed 11 years ago by Matt Boersma

Resolution: fixed
Status: newclosed

(In [5394]) boulder-oracle-sprint: Fixed #4440.

Note: See TracTickets for help on using tickets.
Back to Top