Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 28, 2011 03:13:10

Corey R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Adding an App to the Admin


I'm following the tutorial at . I'm trying to add the app to the
admin site. I've run manage.py syncdb, and I've restarted the dev
server. Any hints? The appropriate files that I was instructed to modify
can be seen at . Request more information and I can provide it.

Thank you!
~Corey

-http://docs.djangoproject.com/en/1.2/intro/tutorial02/ -http://bpaste.net/show/13260/--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 28, 2011 08:43:36

Jonas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Adding an App to the Admin


Op 28-jan-2011, om 04:09 heeft Corey Richardson het volgende geschreven:

> I'm following the tutorial at . I'm trying to add the app to the
> admin site. I've run manage.py syncdb, and I've restarted the dev
> server. Any hints? The appropriate files that I was instructed to modify
> can be seen at . Request more information and I can provide it.
>
> Thank you!
> ~Corey
>
> -http://docs.djangoproject.com/en/1.2/intro/tutorial02/> -http://bpaste.net/show/13260/>

Did you create a admin.py file in the application directory ?
Because the only thing I see is your settings.py file.


--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 28, 2011 11:20:36

Corey R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Adding an App to the Admin


On 01/28/2011 03:43 AM, Jonas Geiregat wrote:
>
> Op 28-jan-2011, om 04:09 heeft Corey Richardson het volgende geschreven:
>
>> I'm following the tutorial at . I'm trying to add the app to the
>> admin site. I've run manage.py syncdb, and I've restarted the dev
>> server. Any hints? The appropriate files that I was instructed to modify
>> can be seen at . Request more information and I can provide it.
>>
>> Thank you!
>> ~Corey
>>
>> -http://docs.djangoproject.com/en/1.2/intro/tutorial02/>> -http://bpaste.net/show/13260/>>
>
> Did you create a admin.py file in the application directory ?
> Because the only thing I see is your settings.py file.
>
>

Yes, that was the first 'file' in the pastebin. It has everything it
says I need. I've started branching from the tutorial to follow my own
whimsical project idea, but it didn't work when I was following the
tutorial to the letter either.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 Jan. 28, 2011 11:30:17

Daniel R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Adding an App to the Admin


On Friday, January 28, 2011 3:09:34 AM UTC, kb1pkl wrote:
>
> I'm following the tutorial at . I'm trying to add the app to the
> admin site. I've run manage.py syncdb, and I've restarted the dev
> server. Any hints? The appropriate files that I was instructed to modify
> can be seen at . Request more information and I can provide it.
>
> Thank you!
> ~Corey
>
> -http://docs.djangoproject.com/en/1.2/intro/tutorial02/> -http://bpaste.net/show/13260/>

Are you logged in as a user with permission to change models in that app? It
won't appear if not.
--
DR.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#5 Jan. 28, 2011 11:48:30

Corey R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Adding an App to the Admin


On 01/28/2011 06:30 AM, Daniel Roseman wrote:
> On Friday, January 28, 2011 3:09:34 AM UTC, kb1pkl wrote:
>>
>> I'm following the tutorial at . I'm trying to add the app to the
>> admin site. I've run manage.py syncdb, and I've restarted the dev
>> server. Any hints? The appropriate files that I was instructed to modify
>> can be seen at . Request more information and I can provide it.
>>
>> Thank you!
>> ~Corey
>>
>> -http://docs.djangoproject.com/en/1.2/intro/tutorial02/>> -http://bpaste.net/show/13260/>>
>
> Are you logged in as a user with permission to change models in that app? It
> won't appear if not.
> --
> DR.
>

I was set as a superuser (still am). I manually gave myself the
permissions to add/change/remove a post, and still nothing.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#6 Jan. 28, 2011 13:44:01

Jonas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Adding an App to the Admin


>>
>> Are you logged in as a user with permission to change models in that app? It
>> won't appear if not.

I once changed my admin.py file and after reloading nothing had changed.
What did solve this issue was restarting the server or hard refreshing the page
(Shift + F5 or something like that, depending on the browser you're using)
But I'm guessing you've already done that.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#7 Jan. 28, 2011 23:10:11

Corey R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Adding an App to the Admin


On 01/28/2011 08:43 AM, Jonas Geiregat wrote:
>>>
>>> Are you logged in as a user with permission to change models in that app?
>>> It
>>> won't appear if not.
>
> I once changed my admin.py file and after reloading nothing had changed.
> What did solve this issue was restarting the server or hard refreshing the
> page (Shift + F5 or something like that, depending on the browser you're
> using)
> But I'm guessing you've already done that.
>

Did that too. I tried all the obvious (to me) things. Still stumped not
finding anything on google.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 18th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support