Re: Multiple Templates in single list view

2021-11-21 Thread Elena Williams
Hi, The problem is it's unclear what your question is. Can you be clearer about what outcome you're trying to achieve? --- Elena Williams Github: elena <http://github.com/elena/> On Mon, 22 Nov 2021 at 15:20, Trippy Samurai wrote: > Any one plz > > > On Sunday,

Pony flair for upcoming PyCons/DjangoCons/events

2015-03-12 Thread Elena Williams
Heya, As fundraising for DjangoGirls we're making available our special djangogirls ponies (like t-shirts but better). They're pretty exclusive but you can now get yourself one: http://ponies.elena.net.au/ Everyone with DjangoGirls at the upcoming events and conferences will be wearing one of th

Re: Python 3 Usage

2014-07-07 Thread Elena Williams
Hi Richard, Django has fully supported Python 3 for a while now, see this talk: http://pyvideo.org/video/2242/porting-django-apps-to-python-3-0 Also IMHO it's less a matter of which users use Python 3 (I'd say it's likely most serious Python users mix-and-match on a project-to-project basis, depe

Journalists in the Django community, journalism advice

2014-07-04 Thread Elena Williams
ournalist/news types in our community I should contact? * Anyone have any notable news/journalism advice I should be passing along? Or, just contact me if you think there's anything I should mention, or have any friendly advice, thank you! --- Elena Williams :) @elequ -- You received this m

Re: How do I create a script to fill in django admin login form and submit?

2013-08-14 Thread Elena Williams
Have you explored the packages "selenium" or "sikuli" these are both great fun for front-end testing. You could intercept the RFID tag using python and feed it through one of the above tools, or something like this perhaps (if I've understood what you're trying to do correctly). Elena :) On 14

Re: Happy new year

2013-01-01 Thread Elena Williams
Happy New Year from to all the Djangonauts from stonking hot Australia! I hope everyone's Django projects are awesome and plentiful this year! Go you smart, creative Django folk! --- Elena :) @elequ On Wed, Jan 2, 2013 at 4:30 AM, Sultan Imanhodjaev < sultan.imanhodj...@gmail.com> wrote: > Жаңы

Re: Reason for not allowing spaces in usernames?

2012-11-18 Thread Elena Williams
Apparently some weirdness can be caused by having email addresses as usernames in django, though I'm not sure specifically what this is. Does anyone know these cases? --- Elena :) @elequ On Mon, Nov 19, 2012 at 4:05 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk>

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-08 Thread Elena Williams
Francesco and Daniel, This is an interesting problem with the tutorial! We will have to make sure that it's changed -- obviously the tutorial needs to be clearer! Any suggestions you guys have about how/where we could insert some information that could make this clearer *please* point out where i

Re: configure url

2012-11-06 Thread Elena Williams
Hi Luca, Is the answer you're looking for something like this?: (r'^scarico/(?P\w+)/(?P\w+)/(?P\w+)/(?P\w+)/$ ','prova.views.scarico') Where \w+ is regex for anything except white-space () (more options: http://docs.python.org/2/library/re.html ) If you're using functional views the def would

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-05 Thread Elena Williams
Hi Francesco, What happens when you try: $ cd C:\Python27\fra_env\ (or whatever the equivalent of this might be in the shell you are using) $ python Scripts\django-admin.py startproject mysite Regards, Elena :) On Mon, Nov 5, 2012 at 1:19 AM, Francescos wrote: > Hi Elena, > > Thanks for re

Re: Location of non-app-specific static files?

2012-11-03 Thread Elena Williams
Hi Ryan, I'm not sure if it helps but not long ago I found this by Simon Willison on Quora: http://www.quora.com/Django/How-do-you-organize-the-code-in-your-Django-project Cheers, Elena :) --- Elena :) @elequ 04022 90172 On Sun, Nov 4, 2012 at 10:23 AM, Ryan wrote: > Hi, > > I have been won

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-03 Thread Elena Williams
Hi Francesco, What you're seeing is the most basic django/python error. It means that your python can't find django from your current path. You should start by checking for the simple things. What happens when you try putting the following in your terminal?: $ python and then: >>> import django

Re: Django Development Model

2012-11-02 Thread Elena Williams
Smriti, If you're really interested from the "horse's mouth" -- I'd suggest googling DjangoCon and DjangoCon EU recordings (they are often on blip.tvbut the most recent ones were put up by youtube.com/jessenoller. Most DjangoCon have a core-team sit-down and/or fireside chat with BDFL/s and this

Re: no Polls in the admin page

2012-11-02 Thread Elena Williams
Actually the minimum requirement for the application to appear in admin is this (here in docs: https://docs.djangoproject.com/en/dev/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin): admin.py: from django.contrib import admin from mysite.polls.models import Poll, Choice # `register(

Re: Easy way to make all form fields read only?

2012-10-31 Thread Elena Williams
I was also going to suggest using crispy forms -- having used it on a recent project I'd strongly recommend it (it's great when it's plugged in to existing stylings such as: uni-form or bootstrap). I've used it with ModelForm using Layout() and Field() and it works a treat. --- Elena :) @elequ 0