Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14138 -- Removed a superfluous import in the sqlite3 DB backend.

This could be of help with some issues people were seeing when deploying
Django with sqlite and Apache.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 83484cc109baf6aad645e7cace2183c2b7f9c181 1 parent ccbca7a
Ramiro Morales authored September 11, 2011

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  django/db/backends/sqlite3/base.py
1  django/db/backends/sqlite3/base.py
@@ -330,7 +330,6 @@ def _sqlite_format_dtdelta(dt, conn, days, secs, usecs):
330 330
     return rv
331 331
 
332 332
 def _sqlite_regexp(re_pattern, re_string):
333  
-    import re
334 333
     try:
335 334
         return bool(re.search(re_pattern, re_string))
336 335
     except:

0 notes on commit 83484cc

Please sign in to comment.
Something went wrong with that request. Please try again.