Advertisement
Guest User

Untitled

a guest
May 7th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.75 KB | None | 0 0
  1. ---
  2. options:
  3.     merge: yes
  4.     globalErrorMessages:
  5.         minlength: %s on liiga lühike, peab olema vähemalt %d.
  6.         notblank: %s peab olema täidetud.
  7.  
  8. User:
  9.     columns:
  10.         id:
  11.             type: integer(4)
  12.             unsigned: true
  13.             notnull: true
  14.             autoincrement: true
  15.             primary: true
  16.         username:
  17.             type: string(16)
  18.             regexp: /[a-z]{1}[a-z_]+/i
  19.             unique: true
  20.             minlength: 3
  21.         password: { type: string(32), minlength: 6 }
  22.     options:
  23.         recordErrorMessages:
  24.             notblank: Traaa saa %s tühjaks jätsid!
  25.         aliases:
  26.             username: Kasutajanimi
  27.             password: Salasõna
  28.         fieldsAccessible: [username, password]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement