Changes between Version 10 and Version 11 of new_meta_api


Ignore:
Timestamp:
Jul 11, 2014, 6:29:50 AM (10 years ago)
Author:
pirosb3
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • new_meta_api

    v10 v11  
    143143
    144144{{{
    145     >>> User._meta.get_new_fields() # Only data by default
     145    >>> User._meta.get_fields() # Only data by default
    146146    (<django.db.models.fields.AutoField: id>,
    147147     <django.db.models.fields.CharField: password>,
     
    156156     <django.db.models.fields.DateTimeField: date_joined>)
    157157
    158     >>> User._meta.get_new_fields(data=False, related_objects=True) # only related_objects
     158    >>> User._meta.get_fields(data=False, related_objects=True) # only related_objects
    159159    (<RelatedObject: admin:logentry related to user>,)
    160160
    161     >>> User._meta.get_new_fields(data=False, related_objects=True
     161    >>> User._meta.get_fields(data=False, related_objects=True
    162162                                  include_hidden=True) # only related_objects including hidden
    163163    (<RelatedObject: auth:user_groups related to user>,
Back to Top