Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
9d6576d5
Commit
9d6576d5
authored
Jan 08, 2017
by
Daniel W Bond
Browse files
why was that an existing error? who's running this shitshow anyway?
parent
b6f12f05
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/trades/forms.py
View file @
9d6576d5
...
...
@@ -4,7 +4,7 @@ from django.utils.translation import ugettext_lazy as _
# third party imports
from
crispy_forms.helper
import
FormHelper
from
crispy_forms.layout
import
Button
,
Submit
,
Layout
,
Fieldset
,
HTML
,
Field
from
crispy_forms.bootstrap
import
Ap
pended
Pre
pendedText
,
FormActions
from
crispy_forms.bootstrap
import
Pre
pended
Ap
pendedText
,
FormActions
from
haystack.forms
import
SearchForm
# imports from your apps
from
.models
import
Listing
,
Bid
,
Flag
,
BidFlag
,
Rating
...
...
@@ -33,7 +33,7 @@ class ListingForm(forms.ModelForm):
Field
(
'course_abbr'
,
placeholder
=
'ENGH 302'
),
'condition'
,
'access_code'
,
Ap
pended
Pre
pendedText
(
'price'
,
'$'
,
'.00'
,
Pre
pended
Ap
pendedText
(
'price'
,
'$'
,
'.00'
,
placeholder
=
"whole numbers"
),
'photo'
,
Field
(
'description'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment