doesnt seem to like the double tag {{ resultdict|hash:dag|date:"d-m-14" }} results in 2014-02-28 instead of 28-02-14
SamSagaZ joined the channel
this prints fine do {{ dag|date:"d-m-14" }}
johnkevinmbasco has quit
joelones
hi, i'm trying filter the query set in the BaseDatatableView on a date that's entered in mm/dd/yyyy to a datetimefield in the db, i'd like to match exact, http://dpaste.com/1668259/
mstrcnvs joined the channel
adambrenecki joined the channel
livingstn has quit
RGamma has quit
mstrcnvs has quit
DropsOfSerenity joined the channel
kenbolton has quit
ia9371 joined the channel
johnkevinmbasco joined the channel
RayZa_ has quit
FunkyBob
anyone here skilled with factory-boy?
basti-mbp joined the channel
am trying to express to it that there is a relation, but I want it to default to none
(it's a nullable 1to1)
twoolie has quit
m1chael joined the channel
dlogs has quit
raonyguimaraes has quit
DropsOfSerenity has quit
ionelmc joined the channel
m1chael
this may be the wrong place to ask this, but here it goes... i am trying to develop my first android app. django has all of my users,data,etc.. is there any android source code i can look at that accomplishes this?
ionelmc
What's the origin of the name "contrib" ?
ChrisMorgan
"contributed" functionality which is important but non-core.
robvdl joined the channel
joelones
: hi, i'm trying filter the query set in the BaseDatatableView on a date that's entered in mm/dd/yyyy to a datetimefield in the db, i'd like to match exact, http://dpaste.com/1668259/
FunkyBob
m1chael: acomplish what, exactly?
knownasilya joined the channel
Pisuke joined the channel
TaiSHi
Anyone used django-bootstrap3 ?
FunkyBob
TaiSHi: there's a whole app for including static content?
TaiSHi
yep
FunkyBob
why?
TaiSHi
Plus some easy formatting
Because of reasons
FunkyBob
easy formatting of what?
TaiSHi
{% bootstrap_form form %}
FunkyBob
forms... I see
TaiSHi
:P
And reasons!
don't ever forget that
FunkyBob
mattmcc: hey, when are you submitting those bootstrap templates for formulation? :)
TaiSHi
It's really expressive
in Features it says something like
"TODO"
FunkyBob
if your front end design "helper" is so clumsy you need a support app for your back end....
devlaps has quit
cyong has quit
Ariel_Calzada joined the channel
m1chael
funkybob: android code that authenticates with a django backend for sign up / registration.. i know this is not the #android-dev room
TaiSHi
Sometimes when you talk you make me feel stupid
I was asking because I didn't really see the point in it lol
FunkyBob
m1chael: it just needs to submit a form, and hold onto the session cookie
faldridge joined the channel
TaiSHi: well, neither do I... so...
TaiSHi
For what I see
It sometimes even requires more code to do something
like inserting a button
ubernostrum joined the channel
Now that we're talking about bootstrap and how stupid I am
How could I make a menu item 'active' if you're on the page
on the page the menu item links you to, I mean
FunkyBob
ah, well...
I use a process of "maximum prefix match length"
phildini joined the channel
TaiSHi
I will google that
But I think you're teasing me
FunkyBob
basically
I iterate the list of links, and find the one that has the longest common prefix as request.path
and figure that's the "active" one
prydie joined the channel
TaiSHi
I understand what you say
By any chance got an example of it?
FunkyBob
not yet
plan to do something like that when I flesh out django-linkage
perhaps you'd like to use it and thus push me into finishing it :)
faldridge has quit
TaiSHi
Hmm
I was just checking the repo
jcrubino joined the channel
FunkyBob
:)
TaiSHi
Could you enlighten me on its purpose ?
I am trying to read the code
jcrubino
are there any tools that will report the raw http sent from a form submission in the browser for any site (not just my django site)?
FunkyBob
TaiSHi: well, the idea is to let you construct a Menu of Link objects
jcrubino: I rmember seeing a web site that would show you whatever you sent it, headers and all
furoido joined the channel
prydie has quit
nseger has quit
TaiSHi: it tries to let you link to object lists, object details, and hard links
what it lacks so far is usable tempalte tools
TaiSHi
So instead of writing each link
I'd just call it
or iterate it, even
Delizin
jcrubino: Firefox has an extension for that
TaiSHi
But yes, I am interested in using it
jcrubino
Delizin: thanks, I just figured it out using chrome dev tools
Delizin
jcrubino: It is called tamper data. Lets you view and modify post/get and the http request
TaiSHi
More so if it inspires you to go fort
FunkyBob
TaiSHi: so you can configure all your links in Admin, if you like... set them up in menus... and not have to worry about keeping internal links updated
TaiSHi
FunkyBob: useful
FunkyBob
that was the idea
TaiSHi
Suggestion: groups of links, tags
FunkyBob
eh?
TaiSHi
"I want to iterate links containing tag 'bleh'"
Yeah
FunkyBob
open a ticket :)
Delizin
I am interested in implementing an html table that displays a model (easy part), but I would like the last row to be blank so the user can type in an entry. When adding an entry I want just the table to update. I am not very familiar with front end stuff, but I imagine I need to use AJAX and JSON to do this? Is this correct and can anyone suggest some resources to point me in the right direction?
ambar joined the channel
pjs joined the channel
mazatta joined the channel
cewing has quit
FunkyBob
Delizin: if you want it to save the record, then, yes, posting using AJAX would makes sense
DropsOfSerenity joined the channel
gremly has quit
Delizin: of course, all of this requires some javascript...
JSLint has quit
TaiSHi
FunkyBob: submitted
Delizin
FunkyBob: Good deal, thanks. I'll see what I can find in regards to using Ajax and JS to post a form
Carlangueitor has quit
b10n1k has quit
devlaps joined the channel
TaiSHi
Bed time
al1o has quit
chrismarceloph has quit
FunkyBob: I subscribed to your repo
I'll keep track of it, it's an interesting idea
FunkyBob
TaiSHi: well, let's hope this produces another great tool :)
TaiSHi: it's an improvement on something implemented in a clients site
al1o joined the channel
TaiSHi
It seems to be going that way
dlogs joined the channel
Leeds
ok then
TaiSHi
You understood why I suggested the tags, right?
You could iterate sub menues or menues somewhere else with user-specific ones or such
FunkyBob
already added :)
TaiSHi
Awesome
I just saw the update on the repo
bed time
I plan to have my templates finished by tomorrow
And start working on some info that must be shown
FunkyBob
now you can do {% load_links_with 'foo' as foo_links %} {% for link in foo_links %} ...