Changeset 606

Show
Ignore:
Timestamp:
09/06/09 13:32:10 (12 months ago)
Author:
alex
Message:

Ability to add admin-only note.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • djWarehouse/branches/without_customer_login/Order/models.py

    r601 r606  
    252252    added = models.DateTimeField(auto_now_add=True, blank=True, null=True) 
    253253    added_by_user_id = models.IntegerField(blank=True, null=True) 
     254    admin_only = models.BooleanField(default=True) 
    254255 
    255256    class Admin: 
     
    257258 
    258259dispatcher.connect(action_on_order_change, sender=Order, signal=signals.pre_save) 
     260 
     261# ALTER TABLE "Order_ordernote" add column "admin_only" boolean NOT NULL default true; 
     262# update "Order_ordernote" set "admin_only"=false;