file)
>
> is this the correct way to do this? the associacions are there now in admin
>
> On Saturday, April 21, 2012 2:50:27 PM UTC+1, Brandy wrote:
>>
>> Have you created an admin.py file? It should look something like this:
>>
>> from poll.models import Poll
&g
Have you created an admin.py file? It should look something like this:
from poll.models import Poll
from django.contrib import admin
admin.site.register(Poll)
On Saturday, April 21, 2012 12:28:05 AM UTC-5, psychok7 wrote:
> hi there, i am quite new to django and i am having a little trouble
Have you made an admin.py file? It should look something like this:
from polls.models import Poll
from django.contrib import admin
admin.site.register(Poll)
On Saturday, April 21, 2012 12:28:05 AM UTC-5, psychok7 wrote:
> hi there, i am quite new to django and i am having a little trouble
iarities of
> Windows command line utilities.
>
> I suggest you give it a try - it's really nice.
>
> On Sun, Apr 15, 2012 at 10:04 PM, Brandy wrote:
>
>> If you would like to read more about the issue, I found the error already
>> reported on the Python website
editors so there is somthing really fishy going on in your machine...
>
> On Sat, Apr 14, 2012 at 8:27 PM, Brandy wrote:
>
>> What I mean is, I can create 2 or 3 new projects without problems. I play
>> with them and create files, etc. Then, for whatever reason, when I run
in7
> slightly less painful...
>
> On Sat, Apr 14, 2012 at 8:19 AM, Brandy wrote:
>
>> No, I'm not using virtual environments.
>>
>>
>> On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:
>>
>>> Are you using virtual environm
Sat, Apr 14, 2012 at 6:04 AM, Brandy wrote:
>
>> After first installing Django, I am able to use "django-admin.py
>> startproject " with no problem. After a while, if I try to
>> start a new project, my editor opens and no files or directories are
>> created. A
After first installing Django, I am able to use "django-admin.py
startproject " with no problem. After a while, if I try to
start a new project, my editor opens and no files or directories are
created. After doing LOTS of research, it turns out this is a rather common
problem/bug. I have tried
FINALLY! I used your modifications and adjusted the security settings of
the directory (twice). And now it works. Thank you everyone for taking the
time to look at my code!
Brandy
On Thursday, April 12, 2012 3:13:58 PM UTC-5, William Ratcliff wrote:
> Hi Brandy,
>
> I downloaded you
ccess them
through Django. It is very strange, because when I open the files in an
editor, they appear to be correct. But django is not picking up on the
changes for some reason.
On Thursday, April 12, 2012 12:32:21 PM UTC-5, victoria wrote:
> On Thu, Apr 12, 2012 at 7:09 PM, Brandy wrot
I am working (again) through the tutorial part 1. I have made changes to
Engine and Name as specified in the instructions. However, running "python
manage.py syncdb" continues to return "Please supply the ENGINE value." I
did not encounter this problem the first time I worked through this
tutor
Yep..that's it. Thanks!
On Apr 11, 12:55 pm, Jonathan Baker
wrote:
> The method should begin and end with two underscores: __unicode__(self):
>
>
>
>
>
> On Wed, Apr 11, 2012 at 11:30 AM, Brandy wrote:
> > I am working through the tutorial and have already added
I am working through the tutorial and have already added the def
_unicode_ statements to my code. However, when running
Poll.objects.all(), I still get this output: []
Here is the code:
from django.db import models
class Poll(models.Model):
question = models.CharField(max_length=200)
13 matches
Mail list logo