-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add seed data for custom placeholders #5533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add seed data for custom placeholders #5533
Conversation
775721d to
ddc458b
Compare
f445a1c to
2ff0317
Compare
3867a69 to
c2a2ff7
Compare
populate_db.py
Outdated
|
|
||
|
|
||
| def create_custom_placeholders(): | ||
| custom_placeholder, _ = get_or_create(CustomPlaceholder, name='Hills', original_image_url='https://www.w3schools.com/html/pic_mountain.jpg', event_sub_topic_id=1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (166 > 120 characters)
cc4325f to
2a3b119
Compare
Codecov Report
@@ Coverage Diff @@
## development #5533 +/- ##
===============================================
+ Coverage 63.13% 63.21% +0.08%
===============================================
Files 265 265
Lines 12726 12733 +7
===============================================
+ Hits 8034 8049 +15
+ Misses 4692 4684 -8
Continue to review full report at Codecov.
|
|
@iamareebjamal @srv-twry please review :) |
e38cf3e to
22c51a7
Compare
|
@srv-twry fixed it...please review again :) |
removed unnecessary import Add seed data for custom placeholders (fossasia#5533) Disable registrat constraint to update attendees (fossasia#5544) Frontend follows a flow where non registrar user has to edit an attendee while placing an order. remove marketer and service fee constraints Currently, the APIs are not functioning correctly with these intricate configurations. docs(api): Remove unused line no 24100 in API blueprint (fossasia#5541) Orders API: Remove verified user constraint (fossasia#5548) Lax permissions to view discount codes (fossasia#5551) Read from environment variables when creating the super admin user Added test database docs for running tests locally (fossasia#5539) * Added package in local installation docs * Added test for authentication * Added docstring for auth test * Unused modules of auth test removed * Changed module import style * test exception handled * User import * Whitespace commit * Add test database instructions * Update local.md * Export csv support for sessions * removed unused packages * continuation line indent' * removed test doc commmit to separate PR * Added test database docs * Added instructions for test database docs
…ia#5512) Added package in local installation docs Added test for authentication Added docstring for auth test Unused modules of auth test removed Added package in local installation docs (fossasia#5515) Changed module import style test exception handled User import Whitespace commit Export csv support for sessions Add test database instructions Update local.md Added test for authentication (fossasia#5517) * Added package in local installation docs * Added test for authentication * Added docstring for auth test * Unused modules of auth test removed * Changed module import style * test exception handled * User import * Whitespace commit Remove authorisation constraint for discount and access code list Fix Admin Sales Api (fossasia#5528) Add hooks for admin statistics (fossasia#5530) removed unused packages continuation line indent' removed test doc commmit to separate PR Removed redundant print statement Add seed data for custom placeholders (fossasia#5533) Disable registrat constraint to update attendees (fossasia#5544) Frontend follows a flow where non registrar user has to edit an attendee while placing an order. remove marketer and service fee constraints Currently, the APIs are not functioning correctly with these intricate configurations. docs(api): Remove unused line no 24100 in API blueprint (fossasia#5541) Orders API: Remove verified user constraint (fossasia#5548) Lax permissions to view discount codes (fossasia#5551) Read from environment variables when creating the super admin user Added test database docs for running tests locally (fossasia#5539) * Added package in local installation docs * Added test for authentication * Added docstring for auth test * Unused modules of auth test removed * Changed module import style * test exception handled * User import * Whitespace commit * Add test database instructions * Update local.md * Export csv support for sessions * removed unused packages * continuation line indent' * removed test doc commmit to separate PR * Added test database docs * Added instructions for test database docs Removed stream response removed unnecessary import Add seed data for custom placeholders (fossasia#5533) Disable registrat constraint to update attendees (fossasia#5544) Frontend follows a flow where non registrar user has to edit an attendee while placing an order. remove marketer and service fee constraints Currently, the APIs are not functioning correctly with these intricate configurations. docs(api): Remove unused line no 24100 in API blueprint (fossasia#5541) Orders API: Remove verified user constraint (fossasia#5548) Lax permissions to view discount codes (fossasia#5551) Read from environment variables when creating the super admin user Added test database docs Added fields for csv export sessions
Fixes #5532
Checklist
developmentbranch.Short description of what this resolves:
adding seed data of custom placeholders for development
Changes proposed in this pull request: