0001_initial.py 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. # -*- coding: utf-8 -*-
  2. import datetime
  3. from south.db import db
  4. from south.v2 import SchemaMigration
  5. from django.db import models
  6. class Migration(SchemaMigration):
  7. def forwards(self, orm):
  8. # Adding model 'Item'
  9. db.create_table(
  10. "catalog_item",
  11. (
  12. ("id", self.gf("django.db.models.fields.AutoField")(primary_key=True)),
  13. (
  14. "created",
  15. self.gf("django.db.models.fields.DateTimeField")(
  16. auto_now_add=True, blank=True
  17. ),
  18. ),
  19. (
  20. "created_by",
  21. self.gf("django.db.models.fields.related.ForeignKey")(
  22. related_name="+", to=orm["auth.User"]
  23. ),
  24. ),
  25. (
  26. "last_updated",
  27. self.gf("django.db.models.fields.DateTimeField")(
  28. auto_now=True, auto_now_add=True, blank=True
  29. ),
  30. ),
  31. (
  32. "last_updated_by",
  33. self.gf("django.db.models.fields.related.ForeignKey")(
  34. related_name="+", to=orm["auth.User"]
  35. ),
  36. ),
  37. (
  38. "is_active",
  39. self.gf("django.db.models.fields.BooleanField")(default=True),
  40. ),
  41. ("title", self.gf("django.db.models.fields.CharField")(max_length=50)),
  42. (
  43. "description",
  44. self.gf("django.db.models.fields.CharField")(
  45. max_length=200, null=True, blank=True
  46. ),
  47. ),
  48. (
  49. "synopsis",
  50. self.gf("django.db.models.fields.CharField")(
  51. max_length=200, null=True, blank=True
  52. ),
  53. ),
  54. (
  55. "image",
  56. self.gf("sorl.thumbnail.fields.ImageField")(
  57. max_length=100, null=True, blank=True
  58. ),
  59. ),
  60. (
  61. "price",
  62. self.gf("django.db.models.fields.DecimalField")(
  63. max_digits=7, decimal_places=2
  64. ),
  65. ),
  66. (
  67. "shipping_cost",
  68. self.gf("django.db.models.fields.DecimalField")(
  69. max_digits=7, decimal_places=2
  70. ),
  71. ),
  72. (
  73. "shipping_cost_multiple",
  74. self.gf("django.db.models.fields.DecimalField")(
  75. max_digits=7, decimal_places=2
  76. ),
  77. ),
  78. (
  79. "subclass_type",
  80. self.gf("django.db.models.fields.CharField")(max_length=200),
  81. ),
  82. (
  83. "sku",
  84. self.gf("django.db.models.fields.SlugField")(
  85. unique=True, max_length=20
  86. ),
  87. ),
  88. (
  89. "deleted",
  90. self.gf("django.db.models.fields.BooleanField")(default=False),
  91. ),
  92. (
  93. "featured",
  94. self.gf("django.db.models.fields.BooleanField")(default=False),
  95. ),
  96. (
  97. "tax_free",
  98. self.gf("django.db.models.fields.BooleanField")(default=False),
  99. ),
  100. ),
  101. )
  102. db.send_create_signal("catalog", ["Item"])
  103. # Adding model 'Book'
  104. db.create_table(
  105. "catalog_book",
  106. (
  107. (
  108. "item_ptr",
  109. self.gf("django.db.models.fields.related.OneToOneField")(
  110. to=orm["catalog.Item"], unique=True, primary_key=True
  111. ),
  112. ),
  113. (
  114. "short_description",
  115. self.gf("django.db.models.fields.CharField")(
  116. max_length=100, null=True, blank=True
  117. ),
  118. ),
  119. (
  120. "authors",
  121. self.gf("django.db.models.fields.CharField")(
  122. max_length=200, null=True, blank=True
  123. ),
  124. ),
  125. (
  126. "illustrator",
  127. self.gf("django.db.models.fields.CharField")(
  128. max_length=200, null=True, blank=True
  129. ),
  130. ),
  131. (
  132. "publisher",
  133. self.gf("django.db.models.fields.CharField")(
  134. max_length=200, null=True, blank=True
  135. ),
  136. ),
  137. (
  138. "printer",
  139. self.gf("django.db.models.fields.CharField")(
  140. max_length=200, null=True, blank=True
  141. ),
  142. ),
  143. (
  144. "publish_date",
  145. self.gf("django.db.models.fields.CharField")(
  146. max_length=20, null=True, blank=True
  147. ),
  148. ),
  149. (
  150. "edition",
  151. self.gf("django.db.models.fields.CharField")(
  152. max_length=50, null=True, blank=True
  153. ),
  154. ),
  155. (
  156. "features",
  157. self.gf("django.db.models.fields.CharField")(
  158. max_length=100, null=True, blank=True
  159. ),
  160. ),
  161. (
  162. "dimensions",
  163. self.gf("django.db.models.fields.CharField")(
  164. max_length=20, null=True, blank=True
  165. ),
  166. ),
  167. (
  168. "pages",
  169. self.gf("django.db.models.fields.IntegerField")(
  170. null=True, blank=True
  171. ),
  172. ),
  173. (
  174. "isbn",
  175. self.gf("django.db.models.fields.CharField")(
  176. max_length=20, null=True, blank=True
  177. ),
  178. ),
  179. (
  180. "library_of_congress_number",
  181. self.gf("django.db.models.fields.CharField")(
  182. max_length=20, null=True, blank=True
  183. ),
  184. ),
  185. (
  186. "genre",
  187. self.gf("django.db.models.fields.CharField")(
  188. max_length=100, null=True, blank=True
  189. ),
  190. ),
  191. (
  192. "author_image",
  193. self.gf("sorl.thumbnail.fields.ImageField")(
  194. max_length=100, null=True, blank=True
  195. ),
  196. ),
  197. ),
  198. )
  199. db.send_create_signal("catalog", ["Book"])
  200. # Adding model 'Movie'
  201. db.create_table(
  202. "catalog_movie",
  203. (
  204. (
  205. "item_ptr",
  206. self.gf("django.db.models.fields.related.OneToOneField")(
  207. to=orm["catalog.Item"], unique=True, primary_key=True
  208. ),
  209. ),
  210. (
  211. "producer",
  212. self.gf("django.db.models.fields.CharField")(
  213. max_length=200, null=True, blank=True
  214. ),
  215. ),
  216. (
  217. "music",
  218. self.gf("django.db.models.fields.CharField")(
  219. max_length=200, null=True, blank=True
  220. ),
  221. ),
  222. (
  223. "runtime_minutes",
  224. self.gf("django.db.models.fields.IntegerField")(
  225. null=True, blank=True
  226. ),
  227. ),
  228. (
  229. "format",
  230. self.gf("django.db.models.fields.CharField")(
  231. max_length=20, null=True, blank=True
  232. ),
  233. ),
  234. (
  235. "region",
  236. self.gf("django.db.models.fields.CharField")(
  237. max_length=50, null=True, blank=True
  238. ),
  239. ),
  240. (
  241. "sound",
  242. self.gf("django.db.models.fields.CharField")(
  243. max_length=50, null=True, blank=True
  244. ),
  245. ),
  246. (
  247. "language",
  248. self.gf("django.db.models.fields.CharField")(
  249. max_length=50, null=True, blank=True
  250. ),
  251. ),
  252. (
  253. "captioning",
  254. self.gf("django.db.models.fields.CharField")(
  255. max_length=50, null=True, blank=True
  256. ),
  257. ),
  258. (
  259. "genre",
  260. self.gf("django.db.models.fields.CharField")(
  261. max_length=100, null=True, blank=True
  262. ),
  263. ),
  264. ),
  265. )
  266. db.send_create_signal("catalog", ["Movie"])
  267. # Adding model 'Map'
  268. db.create_table(
  269. "catalog_map",
  270. (
  271. (
  272. "item_ptr",
  273. self.gf("django.db.models.fields.related.OneToOneField")(
  274. to=orm["catalog.Item"], unique=True, primary_key=True
  275. ),
  276. ),
  277. (
  278. "dimensions",
  279. self.gf("django.db.models.fields.CharField")(
  280. max_length=20, null=True, blank=True
  281. ),
  282. ),
  283. (
  284. "full_image",
  285. self.gf("sorl.thumbnail.fields.ImageField")(
  286. max_length=100, null=True, blank=True
  287. ),
  288. ),
  289. ),
  290. )
  291. db.send_create_signal("catalog", ["Map"])
  292. # Adding model 'Subscription'
  293. db.create_table(
  294. "catalog_subscription",
  295. (
  296. (
  297. "item_ptr",
  298. self.gf("django.db.models.fields.related.OneToOneField")(
  299. to=orm["catalog.Item"], unique=True, primary_key=True
  300. ),
  301. ),
  302. (
  303. "shipping_type",
  304. self.gf("django.db.models.fields.CharField")(
  305. default="INSTATE", max_length=10
  306. ),
  307. ),
  308. (
  309. "shipping_method",
  310. self.gf("django.db.models.fields.CharField")(
  311. default=u"REGULAR", max_length=20
  312. ),
  313. ),
  314. ("duration", self.gf("django.db.models.fields.IntegerField")()),
  315. ),
  316. )
  317. db.send_create_signal("catalog", ["Subscription"])
  318. # Adding model 'ZipCode'
  319. db.create_table(
  320. "catalog_zipcode",
  321. (
  322. ("id", self.gf("django.db.models.fields.AutoField")(primary_key=True)),
  323. (
  324. "created",
  325. self.gf("django.db.models.fields.DateTimeField")(
  326. auto_now_add=True, blank=True
  327. ),
  328. ),
  329. (
  330. "created_by",
  331. self.gf("django.db.models.fields.related.ForeignKey")(
  332. related_name="+", to=orm["auth.User"]
  333. ),
  334. ),
  335. (
  336. "last_updated",
  337. self.gf("django.db.models.fields.DateTimeField")(
  338. auto_now=True, auto_now_add=True, blank=True
  339. ),
  340. ),
  341. (
  342. "last_updated_by",
  343. self.gf("django.db.models.fields.related.ForeignKey")(
  344. related_name="+", to=orm["auth.User"]
  345. ),
  346. ),
  347. (
  348. "is_active",
  349. self.gf("django.db.models.fields.BooleanField")(default=True),
  350. ),
  351. (
  352. "zipcode",
  353. self.gf("django.db.models.fields.CharField")(
  354. unique=True, max_length=9
  355. ),
  356. ),
  357. (
  358. "city",
  359. self.gf("django.db.models.fields.CharField")(
  360. max_length=64, null=True, blank=True
  361. ),
  362. ),
  363. (
  364. "state",
  365. self.gf("django.db.models.fields.CharField")(
  366. max_length=2, null=True, blank=True
  367. ),
  368. ),
  369. (
  370. "county",
  371. self.gf("django.db.models.fields.CharField")(
  372. max_length=64, null=True, blank=True
  373. ),
  374. ),
  375. (
  376. "deleted",
  377. self.gf("django.db.models.fields.BooleanField")(default=False),
  378. ),
  379. ),
  380. )
  381. db.send_create_signal("catalog", ["ZipCode"])
  382. def backwards(self, orm):
  383. # Deleting model 'Item'
  384. db.delete_table("catalog_item")
  385. # Deleting model 'Book'
  386. db.delete_table("catalog_book")
  387. # Deleting model 'Movie'
  388. db.delete_table("catalog_movie")
  389. # Deleting model 'Map'
  390. db.delete_table("catalog_map")
  391. # Deleting model 'Subscription'
  392. db.delete_table("catalog_subscription")
  393. # Deleting model 'ZipCode'
  394. db.delete_table("catalog_zipcode")
  395. models = {
  396. "auth.group": {
  397. "Meta": {"object_name": "Group"},
  398. "id": ("django.db.models.fields.AutoField", [], {"primary_key": "True"}),
  399. "name": (
  400. "django.db.models.fields.CharField",
  401. [],
  402. {"unique": "True", "max_length": "80"},
  403. ),
  404. "permissions": (
  405. "django.db.models.fields.related.ManyToManyField",
  406. [],
  407. {
  408. "to": "orm['auth.Permission']",
  409. "symmetrical": "False",
  410. "blank": "True",
  411. },
  412. ),
  413. },
  414. "auth.permission": {
  415. "Meta": {
  416. "ordering": "('content_type__app_label', 'content_type__model', 'codename')",
  417. "unique_together": "(('content_type', 'codename'),)",
  418. "object_name": "Permission",
  419. },
  420. "codename": (
  421. "django.db.models.fields.CharField",
  422. [],
  423. {"max_length": "100"},
  424. ),
  425. "content_type": (
  426. "django.db.models.fields.related.ForeignKey",
  427. [],
  428. {"to": "orm['contenttypes.ContentType']"},
  429. ),
  430. "id": ("django.db.models.fields.AutoField", [], {"primary_key": "True"}),
  431. "name": ("django.db.models.fields.CharField", [], {"max_length": "50"}),
  432. },
  433. "auth.user": {
  434. "Meta": {"object_name": "User"},
  435. "date_joined": (
  436. "django.db.models.fields.DateTimeField",
  437. [],
  438. {"default": "datetime.datetime.now"},
  439. ),
  440. "email": (
  441. "django.db.models.fields.EmailField",
  442. [],
  443. {"max_length": "75", "blank": "True"},
  444. ),
  445. "first_name": (
  446. "django.db.models.fields.CharField",
  447. [],
  448. {"max_length": "30", "blank": "True"},
  449. ),
  450. "groups": (
  451. "django.db.models.fields.related.ManyToManyField",
  452. [],
  453. {"to": "orm['auth.Group']", "symmetrical": "False", "blank": "True"},
  454. ),
  455. "id": ("django.db.models.fields.AutoField", [], {"primary_key": "True"}),
  456. "is_active": (
  457. "django.db.models.fields.BooleanField",
  458. [],
  459. {"default": "True"},
  460. ),
  461. "is_staff": (
  462. "django.db.models.fields.BooleanField",
  463. [],
  464. {"default": "False"},
  465. ),
  466. "is_superuser": (
  467. "django.db.models.fields.BooleanField",
  468. [],
  469. {"default": "False"},
  470. ),
  471. "last_login": (
  472. "django.db.models.fields.DateTimeField",
  473. [],
  474. {"default": "datetime.datetime.now"},
  475. ),
  476. "last_name": (
  477. "django.db.models.fields.CharField",
  478. [],
  479. {"max_length": "30", "blank": "True"},
  480. ),
  481. "password": (
  482. "django.db.models.fields.CharField",
  483. [],
  484. {"max_length": "128"},
  485. ),
  486. "user_permissions": (
  487. "django.db.models.fields.related.ManyToManyField",
  488. [],
  489. {
  490. "to": "orm['auth.Permission']",
  491. "symmetrical": "False",
  492. "blank": "True",
  493. },
  494. ),
  495. "username": (
  496. "django.db.models.fields.CharField",
  497. [],
  498. {"unique": "True", "max_length": "30"},
  499. ),
  500. },
  501. "catalog.book": {
  502. "Meta": {"object_name": "Book", "_ormbases": ["catalog.Item"]},
  503. "author_image": (
  504. "sorl.thumbnail.fields.ImageField",
  505. [],
  506. {"max_length": "100", "null": "True", "blank": "True"},
  507. ),
  508. "authors": (
  509. "django.db.models.fields.CharField",
  510. [],
  511. {"max_length": "200", "null": "True", "blank": "True"},
  512. ),
  513. "dimensions": (
  514. "django.db.models.fields.CharField",
  515. [],
  516. {"max_length": "20", "null": "True", "blank": "True"},
  517. ),
  518. "edition": (
  519. "django.db.models.fields.CharField",
  520. [],
  521. {"max_length": "50", "null": "True", "blank": "True"},
  522. ),
  523. "features": (
  524. "django.db.models.fields.CharField",
  525. [],
  526. {"max_length": "100", "null": "True", "blank": "True"},
  527. ),
  528. "genre": (
  529. "django.db.models.fields.CharField",
  530. [],
  531. {"max_length": "100", "null": "True", "blank": "True"},
  532. ),
  533. "illustrator": (
  534. "django.db.models.fields.CharField",
  535. [],
  536. {"max_length": "200", "null": "True", "blank": "True"},
  537. ),
  538. "isbn": (
  539. "django.db.models.fields.CharField",
  540. [],
  541. {"max_length": "20", "null": "True", "blank": "True"},
  542. ),
  543. "item_ptr": (
  544. "django.db.models.fields.related.OneToOneField",
  545. [],
  546. {"to": "orm['catalog.Item']", "unique": "True", "primary_key": "True"},
  547. ),
  548. "library_of_congress_number": (
  549. "django.db.models.fields.CharField",
  550. [],
  551. {"max_length": "20", "null": "True", "blank": "True"},
  552. ),
  553. "pages": (
  554. "django.db.models.fields.IntegerField",
  555. [],
  556. {"null": "True", "blank": "True"},
  557. ),
  558. "printer": (
  559. "django.db.models.fields.CharField",
  560. [],
  561. {"max_length": "200", "null": "True", "blank": "True"},
  562. ),
  563. "publish_date": (
  564. "django.db.models.fields.CharField",
  565. [],
  566. {"max_length": "20", "null": "True", "blank": "True"},
  567. ),
  568. "publisher": (
  569. "django.db.models.fields.CharField",
  570. [],
  571. {"max_length": "200", "null": "True", "blank": "True"},
  572. ),
  573. "short_description": (
  574. "django.db.models.fields.CharField",
  575. [],
  576. {"max_length": "100", "null": "True", "blank": "True"},
  577. ),
  578. },
  579. "catalog.item": {
  580. "Meta": {"object_name": "Item"},
  581. "created": (
  582. "django.db.models.fields.DateTimeField",
  583. [],
  584. {"auto_now_add": "True", "blank": "True"},
  585. ),
  586. "created_by": (
  587. "django.db.models.fields.related.ForeignKey",
  588. [],
  589. {"related_name": "'+'", "to": "orm['auth.User']"},
  590. ),
  591. "deleted": (
  592. "django.db.models.fields.BooleanField",
  593. [],
  594. {"default": "False"},
  595. ),
  596. "description": (
  597. "django.db.models.fields.CharField",
  598. [],
  599. {"max_length": "200", "null": "True", "blank": "True"},
  600. ),
  601. "featured": (
  602. "django.db.models.fields.BooleanField",
  603. [],
  604. {"default": "False"},
  605. ),
  606. "id": ("django.db.models.fields.AutoField", [], {"primary_key": "True"}),
  607. "image": (
  608. "sorl.thumbnail.fields.ImageField",
  609. [],
  610. {"max_length": "100", "null": "True", "blank": "True"},
  611. ),
  612. "is_active": (
  613. "django.db.models.fields.BooleanField",
  614. [],
  615. {"default": "True"},
  616. ),
  617. "last_updated": (
  618. "django.db.models.fields.DateTimeField",
  619. [],
  620. {"auto_now": "True", "auto_now_add": "True", "blank": "True"},
  621. ),
  622. "last_updated_by": (
  623. "django.db.models.fields.related.ForeignKey",
  624. [],
  625. {"related_name": "'+'", "to": "orm['auth.User']"},
  626. ),
  627. "price": (
  628. "django.db.models.fields.DecimalField",
  629. [],
  630. {"max_digits": "7", "decimal_places": "2"},
  631. ),
  632. "shipping_cost": (
  633. "django.db.models.fields.DecimalField",
  634. [],
  635. {"max_digits": "7", "decimal_places": "2"},
  636. ),
  637. "shipping_cost_multiple": (
  638. "django.db.models.fields.DecimalField",
  639. [],
  640. {"max_digits": "7", "decimal_places": "2"},
  641. ),
  642. "sku": (
  643. "django.db.models.fields.SlugField",
  644. [],
  645. {"unique": "True", "max_length": "20"},
  646. ),
  647. "subclass_type": (
  648. "django.db.models.fields.CharField",
  649. [],
  650. {"max_length": "200"},
  651. ),
  652. "synopsis": (
  653. "django.db.models.fields.CharField",
  654. [],
  655. {"max_length": "200", "null": "True", "blank": "True"},
  656. ),
  657. "tax_free": (
  658. "django.db.models.fields.BooleanField",
  659. [],
  660. {"default": "False"},
  661. ),
  662. "title": ("django.db.models.fields.CharField", [], {"max_length": "50"}),
  663. },
  664. "catalog.map": {
  665. "Meta": {"object_name": "Map", "_ormbases": ["catalog.Item"]},
  666. "dimensions": (
  667. "django.db.models.fields.CharField",
  668. [],
  669. {"max_length": "20", "null": "True", "blank": "True"},
  670. ),
  671. "full_image": (
  672. "sorl.thumbnail.fields.ImageField",
  673. [],
  674. {"max_length": "100", "null": "True", "blank": "True"},
  675. ),
  676. "item_ptr": (
  677. "django.db.models.fields.related.OneToOneField",
  678. [],
  679. {"to": "orm['catalog.Item']", "unique": "True", "primary_key": "True"},
  680. ),
  681. },
  682. "catalog.movie": {
  683. "Meta": {"object_name": "Movie", "_ormbases": ["catalog.Item"]},
  684. "captioning": (
  685. "django.db.models.fields.CharField",
  686. [],
  687. {"max_length": "50", "null": "True", "blank": "True"},
  688. ),
  689. "format": (
  690. "django.db.models.fields.CharField",
  691. [],
  692. {"max_length": "20", "null": "True", "blank": "True"},
  693. ),
  694. "genre": (
  695. "django.db.models.fields.CharField",
  696. [],
  697. {"max_length": "100", "null": "True", "blank": "True"},
  698. ),
  699. "item_ptr": (
  700. "django.db.models.fields.related.OneToOneField",
  701. [],
  702. {"to": "orm['catalog.Item']", "unique": "True", "primary_key": "True"},
  703. ),
  704. "language": (
  705. "django.db.models.fields.CharField",
  706. [],
  707. {"max_length": "50", "null": "True", "blank": "True"},
  708. ),
  709. "music": (
  710. "django.db.models.fields.CharField",
  711. [],
  712. {"max_length": "200", "null": "True", "blank": "True"},
  713. ),
  714. "producer": (
  715. "django.db.models.fields.CharField",
  716. [],
  717. {"max_length": "200", "null": "True", "blank": "True"},
  718. ),
  719. "region": (
  720. "django.db.models.fields.CharField",
  721. [],
  722. {"max_length": "50", "null": "True", "blank": "True"},
  723. ),
  724. "runtime_minutes": (
  725. "django.db.models.fields.IntegerField",
  726. [],
  727. {"null": "True", "blank": "True"},
  728. ),
  729. "sound": (
  730. "django.db.models.fields.CharField",
  731. [],
  732. {"max_length": "50", "null": "True", "blank": "True"},
  733. ),
  734. },
  735. "catalog.subscription": {
  736. "Meta": {"object_name": "Subscription", "_ormbases": ["catalog.Item"]},
  737. "duration": ("django.db.models.fields.IntegerField", [], {}),
  738. "item_ptr": (
  739. "django.db.models.fields.related.OneToOneField",
  740. [],
  741. {"to": "orm['catalog.Item']", "unique": "True", "primary_key": "True"},
  742. ),
  743. "shipping_method": (
  744. "django.db.models.fields.CharField",
  745. [],
  746. {"default": "u'REGULAR'", "max_length": "20"},
  747. ),
  748. "shipping_type": (
  749. "django.db.models.fields.CharField",
  750. [],
  751. {"default": "'INSTATE'", "max_length": "10"},
  752. ),
  753. },
  754. "catalog.zipcode": {
  755. "Meta": {"object_name": "ZipCode"},
  756. "city": (
  757. "django.db.models.fields.CharField",
  758. [],
  759. {"max_length": "64", "null": "True", "blank": "True"},
  760. ),
  761. "county": (
  762. "django.db.models.fields.CharField",
  763. [],
  764. {"max_length": "64", "null": "True", "blank": "True"},
  765. ),
  766. "created": (
  767. "django.db.models.fields.DateTimeField",
  768. [],
  769. {"auto_now_add": "True", "blank": "True"},
  770. ),
  771. "created_by": (
  772. "django.db.models.fields.related.ForeignKey",
  773. [],
  774. {"related_name": "'+'", "to": "orm['auth.User']"},
  775. ),
  776. "deleted": (
  777. "django.db.models.fields.BooleanField",
  778. [],
  779. {"default": "False"},
  780. ),
  781. "id": ("django.db.models.fields.AutoField", [], {"primary_key": "True"}),
  782. "is_active": (
  783. "django.db.models.fields.BooleanField",
  784. [],
  785. {"default": "True"},
  786. ),
  787. "last_updated": (
  788. "django.db.models.fields.DateTimeField",
  789. [],
  790. {"auto_now": "True", "auto_now_add": "True", "blank": "True"},
  791. ),
  792. "last_updated_by": (
  793. "django.db.models.fields.related.ForeignKey",
  794. [],
  795. {"related_name": "'+'", "to": "orm['auth.User']"},
  796. ),
  797. "state": (
  798. "django.db.models.fields.CharField",
  799. [],
  800. {"max_length": "2", "null": "True", "blank": "True"},
  801. ),
  802. "zipcode": (
  803. "django.db.models.fields.CharField",
  804. [],
  805. {"unique": "True", "max_length": "9"},
  806. ),
  807. },
  808. "contenttypes.contenttype": {
  809. "Meta": {
  810. "ordering": "('name',)",
  811. "unique_together": "(('app_label', 'model'),)",
  812. "object_name": "ContentType",
  813. "db_table": "'django_content_type'",
  814. },
  815. "app_label": (
  816. "django.db.models.fields.CharField",
  817. [],
  818. {"max_length": "100"},
  819. ),
  820. "id": ("django.db.models.fields.AutoField", [], {"primary_key": "True"}),
  821. "model": ("django.db.models.fields.CharField", [], {"max_length": "100"}),
  822. "name": ("django.db.models.fields.CharField", [], {"max_length": "100"}),
  823. },
  824. }
  825. complete_apps = ["catalog"]