has the static tag been removed from Django 1.7 templates?
keitsuron joined the channel
tdy joined the channel
djapo
softinio: ... why would it?
eraldo joined the channel
softinio
my django app was working with django 1.6 now running it under 1.7b is giving me invalid block tag. thanks for confirming it hasn't i will invetigate the error further
djapo
softinio: do you have {% load staticfiles %}
jnoob22 joined the channel
?
joshlegs
+1 on djapo
snurfery
what's the preferred form field to use for multiple values without choices? like free-form text entry
cottons joined the channel
eraldo has quit
softinio
djapo: this is what I have: <link rel="stylesheet" href="{% static "assets/css/style.min.css" %}">
breno has quit
ggrog joined the channel
djapo
softinio: and that used to work? any traceback?
FunkyBob
softinio: also, why not 1.7rc1?
snurfery: huh? multiple values? or free-form text? which is it?
softinio
djapo: added {% load staticfiles %} to template and all seems to be fine now. No longer getting that error
FunkyBob: yes will be upgrading to rc1 shortly
this evening
snurfery
FunkyBob: both, like I'm submitting an array of free-form text
I don't need to validate it against a list of choices
waawal has quit
FunkyBob
snurfery: well, you'll need a related model to store the values in
snurfery
this is plain form stuff
not model stuff
softinio
thanks for your help chaps as always learning all the time thanks to this great community of developers
nickpresta has quit
FunkyBob
snurfery: formset
snurfery
I just want a field that accepts an array of strings
ew, no
exactly what "TypedMultipleChoiceField" and "MultipleChoiceField" are doing, but without checking the input against a list of choices
emperorcezar has quit
FunkyBob
snurfery: fixed or variable number of values?
snurfery
much like the 2 above fields, a variable number
waawal joined the channel
FunkyBob
formset
snurfery
meh
FunkyBob
what?
snurfery
I'm just gonna hack together my own field
FunkyBob
but it's not _a_ field
it's many fields
snurfery
it's one field that accepts multiple values
FunkyBob
you could pass it as many values of the one field name
snurfery
much like MultipleChoiceField
FunkyBob
of course, it might help if you'd explain what this is for
snurfery
email compose interface... 'to' holds multiple email addresses, and I'm doing everything restfully so django isn't rendering any html here
FunkyBob
django forms aren't about rendering HTML, anyway
snurfery
of course
but formsets will want to put in their management form
which is pretty easy if django was doing the rendering, but more bothersome when it's not
riseriyo joined the channel
I think I'll just subclass TypedMultipleChoiceField and override validate() so it won't try to check choices
I'm just surprised this isn't a thing
but maybe I'm just being entitled ;)
riseriyo has left the channel
FunkyBob
of course, if it's RESTful, you may not even have a form...
depending on which restful lib you're using, if any
of course, if you're not validating it, you can just pluck it straight from request.POST
aarose has quit
but I don't think that code is quite right
snurfery
yeah I still wanted 'required' at least, seems to be working fine so far
as far as I can tell valid_value just checks if it's in choices
and handles cases where there's an list of lists of choices (optgroup or something)
cottons joined the channel
a list*
keitsuron has quit
FunkyBob
so... building a webmail, eh?
snurfery
an interface to send messages, yeah... not the whole gamut of functionality thankfully
Tatsh_ is now known as Tatsh
FunkyBob
ah, ok
I keep toying with the idea
now with all these css frameworks, and other stuff... even I can produce one that looks ok :P
cottons_ joined the channel
cottons_ has quit
snurfery
oh yeah, I'm super thankful for bootstrap
even with it holding my hand I still make these super clutzy interfaces
heh
FunkyBob
bootstrap, foundation, uikit, .... so many to choose from :)
snurfery
bootstrap for css/basic interface stuff and angularjs for actual interactivity
stickperson has quit
cottons_ joined the channel
circ-user-UWZvE joined the channel
cottons has quit
the old version of my app was built with a mountain of terrible, terrible jquery
it's a thing of horror
circ-user-UWZvE
first time here
how active is this channel?
jeffisabelle has quit
snurfery
there's literally no one here
;)
circ-user-UWZvE
damn
snurfery
it's pretty active
circ-user-UWZvE
cool
so is it like django devs?
snurfery
and the occasional confused "django unchained" fan
yeah
circ-user-UWZvE
lol
cool
what's the protocol if I have a question?
FunkyBob
ask
it's rather quiet now, being the weekend
cottons_ has quit
EvilDMP has quit
circ-user-UWZvE
ok
I'm building somethign and I want to use django-rest-framework to make some models available as resources then use backbone or somethign simiarl for the frontend.