Trying out Newman

3 views
Skip to first unread message

Zain Memon

unread,
Apr 27, 2009, 3:12:35 AM4/27/09
to ella-p...@googlegroups.com
Hi there,

I'm trying out ella for the first time and I'm a little stuck about what to do after getting everything running. There is no /admin/ but I saw some talk about /newman/ -- is that the admin for ella?

I set up the example_project, ran syncdb and added myself as a superuser when prompted, and went to http://localhost:8000/newman/ where I'm greeted with the login prompt. When I log in as the superuser I created, I get the message "No role defined for user zain. Ask site administrator to assign proper roles for You."

How can I assign a role to myself?

Thanks,
Zain

Almad

unread,
Apr 27, 2009, 5:22:15 AM4/27/09
to Ella Project
Hi,

as Honza previously said, newman is not there yet as admin
replacement. You can now use admin with newman without problem (I'll
take a look on this issue at the end of the week as I'd like to put
some work into pinax - ella integration).

Best way to just try newman now is to fire

./manage.py loaddata example_data newman_admin_user

and then log in to newman as superuser/xxx .


Sorry that example_project is still WIP, but we're currently focusing
on migrations and I'm building infrastructure for that. I hope I'll
put example_project in order after that (i.e. clean up fixtures, write
some docs etc.) after that, which would be hopefully shortly after
EuroDjangoCon.

Thanks for patience,

Almad

On Apr 27, 9:12 am, Zain Memon <z...@inzain.net> wrote:
> Hi there,
> I'm trying out ella for the first time and I'm a little stuck about what to
> do after getting everything running. There is no /admin/ but I saw some talk
> about /newman/ -- is that the admin for ella?
>
> I set up the example_project, ran syncdb and added myself as a superuser
> when prompted, and went tohttp://localhost:8000/newman/where I'm greeted

Whit

unread,
Apr 27, 2009, 1:20:02 PM4/27/09
to Ella Project
Hi,

if you create superuser during first syncdb, you need only "./
manage.py loaddata example_data". Then you can login with your
username/password.

Whit

On 27 Dub, 11:22, Almad <b...@almad.net> wrote:
> Hi,
>
> as Honza previously said, newman is not there yet as admin
> replacement. You can now use admin with newman without problem (I'll
> take a look on this issue at the end of the week as I'd like to put
> some work into pinax - ella integration).
>
> Best way to just try newman now is to fire
>
> ./manage.py loaddata example_data newman_admin_user
>
> and then log in to newman as superuser/xxx .
>
> Sorry that example_project is still WIP, but we're currently focusing
> on migrations and I'm building infrastructure for that. I hope I'll
> put example_project in order after that (i.e. clean up fixtures, write
> some docs etc.) after that, which would be hopefully shortly after
> EuroDjangoCon.
>
> Thanks for patience,
>
> Almad
>
> On Apr 27, 9:12 am, Zain Memon <z...@inzain.net> wrote:
>
>
>
> > Hi there,
> > I'm trying out ella for the first time and I'm a little stuck about what to
> > do after getting everything running. There is no /admin/ but I saw some talk
> > about /newman/ -- is that the admin for ella?
>
> > I set up the example_project, ran syncdb and added myself as a superuser
> > when prompted, and went tohttp://localhost:8000/newman/whereI'm greeted

Zain Memon

unread,
Apr 27, 2009, 6:30:43 PM4/27/09
to ella-p...@googlegroups.com
Thanks for the info! I was able to get newman working after loading the example data. It looks very cool.

You mentioned I could use admin along with newman -- could you explain how? I don't see any url patterns for django's admin.

Thanks,
Zain

Honza Král

unread,
Apr 27, 2009, 6:39:51 PM4/27/09
to ella-p...@googlegroups.com
Hi Zain,
unfortunatelly taht's not possible at the moment due to newman's
template overridin'g the default sets. We plan (in far far future :) )
to rename all templates used by newman, but until that I am afraid you
would have to either use some nasty trick or different settings to get
admin and newman rung alongside each other.

Glad you like newman, it's work in progress but we believe we have
done our research on some fields.

Feel free to poke around and take anything you wish for your projects,
we would be more than happy if some of the code or ideas make it back
to Django's admin.

First thing I would recomment looking into would probably be the suggesters :)

Please do not hesitate and let us know should you feel we could be of
help, as you can see, there is plenty of us :)


Honza Král
E-Mail: Honza...@gmail.com
Phone: +420 606 678585
Reply all
Reply to author
Forward
0 new messages