One very stupid question: Can you use the Django's ORM way *outside* a web application (i.e. to replace SQLAlchemy)?
milkandtang joined the channel
elithrar joined the channel
mattmcc
asarch: Sure. It's all just Python.
asarch
Thank you mattmcc
Thank you very much
jaddison joined the channel
hoot joined the channel
zauberpony has quit
VeryBueno has quit
zauberpony joined the channel
deepinskin has quit
young001 joined the channel
Mike26 joined the channel
m0rpho has quit
jfw joined the channel
sayan joined the channel
kleinishere joined the channel
charas joined the channel
NeilB4Zod
so i created the polls directory within the mysite directory as instructed by the tutorial, but the new directory does not appear in the mysite directory. I tried to import polls into mysite, but I'm getting a "source is in the hierarchy of the destination". I tried to refresh pydev as well, but the polls directory is not showing up. googled for a solution, but went on a wild goose chase.
sorry i wasn't clear. the polls directory does exist in the mysite directory, but it does not appear in the project files within pydev.
so i want to know how to import the newly created polls directory into a pydev project
jfw
that was very confusing. paste ls -R
NeilB4Zod
./mysite:
__init__.py settings.py urls.py wsgi.py
__init__.pyc settings.pyc urls.pyc wsgi.pyc
./polls:
__init__.py models.py tests.py views.py
the polls directory does exist in the file system, but it's not showing up in pydev.
how do i work with the polls directory in pydev?
heptal has quit
Leeds
just for the record, if you're going to paste something and it's more than 2-3 lines, use a pastebin, not the channel
NeilB4Zod
ok
Leeds
also, most likely, your issue is with pydev... unless you have a specific need for an IDE which is apparently not Django-friendly...
NeilB4Zod
yes, it's a pydev issue. does anyone on this channel have expertise with it?
khimera has quit
is there a pydev channel?
jasondotstar has quit
Tophen joined the channel
Tophen has left the channel
Tophen joined the channel
johnnny22
Ok, i'm getting closer to my goal, but I'm having one hickup, which might be my fall. How can I refer to a field created by 'annotate' in .extra :o/
Tophen has left the channel
charas
Not a django question but can anyone just go to http://typezebra.com/ and see if a list of fonts appears on the left sidebar before it hides?
Leeds
charas: just looks black to me
HiDeHo joined the channel
NeilB4Zod
the list hides first, then the fonts appear about three seconds later and remain on the page.
charas
Thanks folks, for me it appears after a while and then disappears forever
jaddison has quit
Ben64 joined the channel
biggenius joined the channel
Ben64 has left the channel
this is happening for local fonts but google fonts and edge fonts are appearing just fine
biggenius
Hello
NeilB4Zod
I've been on the page for about a minute and the font list remains visible.
sergicles joined the channel
snuglepuss joined the channel
jdunck has quit
charas
NeilB4Zod: I know. This is what making me crazy, sometimes it is visible sometimes it is not. For example in Safari it is never visible but in firefox always visible but in chrome sometimes yes sometimes not
NeilB4Zod
where can I get help with PyDev?
biggenius
Pydev Docs
HiDeHo has quit
I used that for a while
i didn't like it
I am using PyCharm
Its very good.
br87 joined the channel
br87
hi
NeilB4Zod has quit
cebor joined the channel
prabampm has quit
khimera joined the channel
tsurantino joined the channel
sayan has quit
sergicles has quit
biggenius
Hi
jangoh joined the channel
Any questions guys?
charas
If you could help with mine, that will be awesome
introom joined the channel
biggenius
I don't know your problem
charas
It's driving me nuts why sometimes the list of fonts appears on the left here http://typezebra.com/
biggenius
I just joined, and i can't see your question
charas
and sometimes not
biggenius
ok
Let me have a look
aQute joined the channel
charas
thanks
aQute
I am using django class based views it gives an error if i try to assign reverse('home') in success_url where 'home' is a named url can somebody help me ?
madprops
charas, always visible, chrome
chromium*
charas
madprops: can you try again in incognito mode?
freannrak joined the channel
johnnny22
biggenius: i got one, how can I use .extra on fields that have been created by .annotate ?
NeilB4Zod joined the channel
madprops
refreshed 5 times, always visible
NeilB4Zod
I solved the problem.
corehook joined the channel
biggenius
ah i see the problem
dmclain joined the channel
On Mozilla Firefox
charas
biggenius: Did you?
biggenius
Its not visible
on Chrome/Chromium
its visible on left
Mathuin
I gave up on PyDev and Eclipse. Emacs and python-django.el rock my world.
kanja joined the channel
biggenius
For me Pycharm does the trick
johnnny22
Mathuin: i use Komodo
biggenius
Its really good, i can design database structure, it comes with DB viewer too
charas
biggenius: Exactly, it is visible sometimes and sometimes not, very random behavior across browsers
biggenius
So
what do you want?
To make it visible, or hidden?
Mathuin
I've been using Emacs since the early nineties, so I'm on the wrong end of that learning curve.
tekknik has quit
charas
Always visible
biggenius
ok
aQute has left the channel
johnnny22
biggenius: any idea how to solve my problem ?:P
biggenius
let me look into that too.
khimera has quit
johnnny22
if you find a solution to that, i'm sure lots of people will like you ;)
It was never a problem before even with that tag, let me remove and try again
biggenius
ok
VeryBueno joined the channel
workmeh
when django admin docs say to only use the django admin for 'site managers', what does that mean? Webmasters or any user i want to allow to edit content of part of the site?
biggenius
Site managers --> who manages content.
They people you trust for not playing with it.
It depends on how you setup for user.
workmeh
so only for people you trust? Not just different roles?
cebor has quit
biggenius
You can add diff, roles.
But for that you need to take some precautions so casual user don't trick your system
kushal joined the channel
BiskitB0y joined the channel
charas
biggenius: Text Rendering CSS property removed but I still see the problem. Safari browser seems to be biggest culprit as it never appears on it, however on other browsers it's random, sometimes visible, sometimes not