#14107: Problem with non-null fieds using Oracle Backend
---------------------------------------------------+------------------------
Reporter: mdpetry | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by mdpetry):
Sorry, I posted a sqlite script instead of postgresql script, here is the
right scripts:
PostgreSQL: http://dpaste.org/CrYw/
SQLite http://dpaste.org/Ybf7/
Replying to [ticket:14107 mdpetry]:
> Hi,
>
> I have a problem with Oracle Backend when I generate the SQL script to
build the database structure
>
> Some fields (I don't know why :P) didn't set the "NOT NULL" attribute on
SQL scripts for Oracle Database, for PostgreSQL database work fine. Even
if I set the Blank and Null attributes to false in my models.py
>
>
> Here is a snippet of my models.py: http://dpaste.org/ovwp/
>
> and here, the Oracle SQL Script: http://dpaste.org/fwnq/
>
> and PostgreSQL script: http://dpaste.org/kYEN/
--
Ticket URL: <http://code.djangoproject.com/ticket/14107#comment:2>
Django <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.