EdwardIII: I still don't get what you're trying to achive... in general it is a bad idea to have overlapping url patterns going to different endpoints
bvlaar joined the channel
gqgunhed has quit
drillprp: hmm, haven't seen that one, but the explanation suggests that Amazon has flagged your IP/range as one that is not allowed to send email out... have you been sending lots of mail?
bvlaar has quit
drillprp
tie, well a lot is relative, maybe 15 or 20 a day for the past few days.
Django is AWESOME (despite all of the annoying things)! Peace!
bvlaar joined the channel
tie has left the channel
md4d has quit
jvdm has quit
nwilson5 joined the channel
bvlaar has quit
ElPollo has quit
bvlaar joined the channel
mahoski has quit
marsam is now known as cibermarsam
nwilson5
if we want to implement either rate limiting (for users, not bots) or at least limiting users to x requests per hour or per day, would it be best to implement this before it hits django
ElPollo joined the channel
or is that something django would be ok managing using redis or something to track
bvlaar has quit
cramm has quit
rogi has quit
fission6 has quit
starsinmypockets joined the channel
dstegelman has quit
EyePulp has quit
starsinmypockets
How do I import the django logging settings into an external file?
Amitash
I created a login page in html and created a url pattern in urls.py as: (r'^login/$','django.contrib.auth.views.login')
I am getting a "SIte matching query does not exist" at /login/
any fixes?
julesa joined the channel
starsinmypockets has quit
uris has quit
jdunck joined the channel
void has quit
stephenmcd joined the channel
tobias1 has quit
tobias1 joined the channel
rogi joined the channel
Technodrome joined the channel
jdunck has quit
caleb_smith
Amitash: You've lost the builtin site somehow. Open a python shell and create one via "from django.contrib.sites.models import Site; Site.objects.create()"
Technodrome
whats the best way of dealing with static content these days
caleb_smith
I suspect that my quick fix might not get you all the way there. Usually a syncdb creates this site for you
Putting everything in a static folder within your project folder (neighboring the apps), then running collectstatic to collect it all into a folder that is in the root project folder.
ender979 has quit
drillprp has quit
Serving that separately from the main site
Amitash
caleb_smith: This worked like a charm! I tried syncdb again and it didn't create one for me.. Weird..
caleb_smith: I mean, manually creating it worked.. syndb didn't..
caleb_smith
starsinmypockets: `from django.conf import settings` then you can use `settings.LOGGING` everywhere that you need to access the settings
bvlaar joined the channel
right. syncdb usually creates it when you first create the project I think, but I don't expect it would afterward
EyePulp joined the channel
I'm not quite sure. Also the contrib.sites package is somewhat strange/broken anyway TBH
Amitash
caleb_smith: There was some error when I ran syncdb the first time.. It failed to create the super user.. Perhaps I need to create a new super user..
caleb_smith
you can do that with 'python manage.py createsuperuser'
uris joined the channel
markalanevans has quit
estebistec|work has quit
pembo13 has quit
scrapper joined the channel
Choobie joined the channel
ilogik joined the channel
FunkyBob
I really need someome to help me revise and flesh out the docs for django-nap
willer_ has quit
Whezz has quit
ilogik
Is there a way to add model methods to the fields being serialized using django's serializer?
robbyoconnor joined the channel
Amitash
what is csrf failure? I have a user created but when I try to login, it gives me a forbidden 403 with a csrf failure
I have my own Comment model, not the django.contrib.comments one, but it appears to be trying to delete django_comments anyway.
explodes has quit
bvlaar joined the channel
Raisins has quit
FunkyBob
man... so many people clearly lazy, and using google to find docs links ;...
jvdm joined the channel
nihilista has quit
chrisramon has quit
endre has quit
iiie has quit
AmineZyad
GDorn: Try with Google, but here a probably solution… add django_comments to INSTALLED_APPS
and do a syncdb
jaddison
I'd like to have a char field in my profile model that represents various boolean choices - I'd like to render the choices using a CheckboxSelectMultiple widget. Is there a way to map the values to the charfield in the DB? I see http://djangosnippets.org/snippets/1200/ as a solution, but is there anything baked into Django now?
AmineZyad
it appears that the model isn't synced with the DB