though i'm glad learning iOS dev gives me OS X dev pretty much
badcat
nope*
dimadima
firefox sucks :>
and by :> i mean :<
etenil
looks like soon there won't be much difference between "web" and "desktop" (or pockettop)
hypolin joined the channel
dimadima
the only rationale i can understand for using firefox is that it's foss. otherwise, i just don't get it.
etenil
I said "Firefox OS", not "Firefox"
no troll dimadima
ianawilson joined the channel
dimadima
etenil: oh no, i know. i just assumed firefox os : firefox ~ chrome os : chrome
Jakey joined the channel
etenil
nope not the same
dimadima
aka apps written in JS running in a JS interpreter
etenil: oh, intereresting
rogi has quit
etenil
well somewhat, except that firefox OS doesn't fire up a web browser for you
gazumps has quit
it's at a lower level than chrome os
hkj has quit
Y3K
IMHO what's happening is that both desktop and web apps are getting closer and closer... For obvious reasons they can't be at the same "level", but the browsers are growing better so it's possible to dispatch more "rich" content to the user via web :)
Ramialhamad
hey guys, quick question, I'm using modelformset_factory and when I load the resulting instance, I get two forms, one with a prepopulated form with the data that I just saved in my first try and one that's empty.
hyperair joined the channel
dimadima
what gives with the django-related question?
etenil
well it's an answer to the difficulty of programming for multiple closed and complex platforms
the common denominator
cjurk has quit
Y3K
Ramialhamad: And the question is...
etenil
many apps for ios are just a webkit frame with a bit of website inside
Ramialhamad
I have this simple add button that's supposed to add a row in my db. When I press the submit button, I want a form to load that's blank so that users can enter data
instead
dimadima
i'm guessing he wants one gorm
form*
Ramialhamad
I get two forms
from the factory object
one that's repopulated with data that I just entered in my first try
whizmob has quit
Y3K
Ramialhamad: Check the extra argument
Ramialhamad
I noticed extra int = 1 in the debugger
thanks Y3K! I will look into it
etenil
ok thanks for the help dudes, bye!
etenil has quit
Y3K
etenil: You're welcome. See ya
josh3336 has quit
Leeds joined the channel
gazumps joined the channel
FSCV joined the channel
jpadilla has quit
FSCV has quit
moreisee has quit
Ramialhamad
@Y3K, I read the docs but I can see how to add two blank forms (extras) but how do I get it to only show the blank form?
Y3K
Why the Model's doesn't have a clean_<field> method like the forms? if I want to overryde the clean of only one field I need to use clean_fields and exclude the rest :S
pucko
What is the proper way of overriding save() in a model for Django 1.4?
Y3K
Ramialhamad: Oh! Sorry, I missunderstood you. Well, in that case just don't pass any instance to the formsetfactory.
now that function-based generic views have been deprecated, what should i use in urls.py instead of direct_to_template and redirect_to?
starsinmypockets joined the channel
Y3K
jaccc: django.shortcuts.render|redirect
starsinmypockets
I'm seeking employment and want to post a recent django ecommerce project on github... aside from obfuscating db and api keys any thoughts regarding security?
Y3K
(For a second I thought you were saying that all the FBV are deprecated :P)
santiissopasse has quit
starsinmypockets: Well, the SSL of course is a must.