[mezzanine-users] Drum template error with "pages_tags"

2015-10-18 Thread Micah Yoder
Hi,

So Drum works originally (mostly) but after running manage.py 
collecttemplates, it stops working, saying it can't find pages_tags.  I 
note that mezzanine.pages is commented out in the settings file.

Question:  Why does it work originally, before doing a collecttemplates?

Also if anyone wants to give me a pointer as to how to fix it for after 
doing collecttemplates, I'll be happy to take a stab at it.  I'm trying to 
pick up little projects to learn django better.  Thanks!

It looks like the generated base.html actually *uses* mezzanine pages tags, 
but the original 
https://github.com/stephenmcd/drum/blob/master/drum/links/templates/base.html 
does not, so is the collecttemplates script itself finding something it 
shouldn't be finding?

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] PyTexas talk

2015-08-31 Thread Micah Yoder
Unfortunately, this talk was not accepted. :/  My other talk proposal 
(comparing Python and C++ for programming n00bs) was.  I am however going 
to talk about Mezzanine at my office tomorrow (the Rackspace 
headquarters).  I was planning to use this to prepare for the PyTexas talk, 
but I guess it will be more standalone.  Oh well.  Maybe next year at Texas 
Linux Fest or whenever I get a chance!

On Monday, June 8, 2015 at 9:23:05 PM UTC-5, Micah Yoder wrote:
>
> Thanks all! Proposal has been posted. https://www.pytexas.org/2015/talk/21
> Will take a look at the presentations.
>
> Now please please please make a new release before then so I don't have to 
> tell people to start by cloning git master! :D
>
> On Monday, June 8, 2015 at 6:56:49 PM UTC-5, Stephen McDonald wrote:
>>
>> Likewise, feel free to also use content from my talk that Graham linked 
>> to, and please post back videos/slides when you're done!
>>
>> Good luck
>>
>> On Tue, Jun 9, 2015 at 8:52 AM, Graham <greenba...@gmail.com> wrote:
>>
>>> Hi Micah
>>> Well I won't be going, too far from New Zealand :-) Sounds like you are 
>>> the ideal person for the job!
>>> Here is a presentation I did for the Python User Group in Auckland 
>>> http://goo.gl/qeFrwy , feel free to plagiarise.
>>> It was based on Stephen's talk that he did to the PyCon APAC in 2014, 
>>> https://vimeo.com/103614826 and my own experiences.
>>>
>>> Good luck
>>> Graham
>>>
>>>
>>>
>>> On 09/06/15 09:02, Micah Yoder wrote:
>>>
>>> Hi,
>>>
>>> Any Mezzanine folks planning to be at PyTexas this year and talk about 
>>> it?
>>>
>>> I'm thinking of submitting a talk proposal to introduce Mezzanine as 
>>> "the hidden gem of the django ecosystem", but I'm sure I'm the least 
>>> qualified person on this list to talk about it, so I don't want to step on 
>>> anyone's toes!
>>>
>>> That said, I think I can give a decent introduction.  (I spoke there 
>>> last year about PostgreSQL's jsonb data type.)
>>>
>>> If anyone else here will be there, go ahead and talk about Mezzanine (if 
>>> you want), and I'll find a different topic!  If so it will be cool to see 
>>> you.
>>>
>>> Thanks!
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Mezzanine Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to mezzanine-use...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> -- 
>>> T : 021 081 71732
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Mezzanine Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to mezzanine-use...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Stephen McDonald
>> http://jupo.org
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] Re: Basic PostgreSQL installation

2015-08-24 Thread Micah Yoder
What kind of messages appear on the screen when you run manage.py createdb?

I suspect it is a connection or permissions issue.  You might try putting 
this in your pg_hba.conf file (which is normally in your data directory, 
except in Debian/Ubuntu):

# local is for Unix domain socket connections only 
local   all all trust 
# IPv4 local connections: 
hostall all 127.0.0.1/32trust

then reload the PostgreSQL daemon (pg_ctl reload or a service command 
from your OS).  Also are you sure you created the database with the owner 
that you are passing to django?

Note - you probably don't want to use the above lines in production, but 
for a quick test to get started it's all right.


On Monday, August 24, 2015 at 3:12:28 PM UTC-5, Richard Jackson wrote:

 Hi there,

 I've installed Django and had no problems with sorting out the PostgreSQL 
 connection, but I can't seem to get Mezzanine to create tables in the 
 specific database. When I set up a new Django project I get 10 different 
 tables, but Mezzanine doesn't seem to create any. I've run python 
 manage.py migrate  python manage.py createdb but with to no avail.

 I've made the below alteration to the settings.py file - is there anything 
 else I should be doing? This feels like an incredibly basic issue and I 
 don't know if I'm misunderstanding the process, so any feedback would be 
 appreciated!

 DATABASES = {
 'default': {
 'ENGINE': 'django.db.backends.postgresql_psycopg2',
 'NAME': 'NAME_OF_DATABASE',
 'USER': 'NAME_OF_USER',
 'PASSWORD': '',
 'HOST': '127.0.0.1',
 'PORT': '5432',
 }
 }

 Cheers!

 Rich


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] PyTexas talk

2015-06-08 Thread Micah Yoder
Hi,

Any Mezzanine folks planning to be at PyTexas this year and talk about it?

I'm thinking of submitting a talk proposal to introduce Mezzanine as the 
hidden gem of the django ecosystem, but I'm sure I'm the least qualified 
person on this list to talk about it, so I don't want to step on anyone's 
toes!

That said, I think I can give a decent introduction.  (I spoke there last 
year about PostgreSQL's jsonb data type.)

If anyone else here will be there, go ahead and talk about Mezzanine (if 
you want), and I'll find a different topic!  If so it will be cool to see 
you.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] PyTexas talk

2015-06-08 Thread Micah Yoder
Thanks all! Proposal has been posted. https://www.pytexas.org/2015/talk/21
Will take a look at the presentations.

Now please please please make a new release before then so I don't have to 
tell people to start by cloning git master! :D

On Monday, June 8, 2015 at 6:56:49 PM UTC-5, Stephen McDonald wrote:

 Likewise, feel free to also use content from my talk that Graham linked 
 to, and please post back videos/slides when you're done!

 Good luck

 On Tue, Jun 9, 2015 at 8:52 AM, Graham greenba...@gmail.com javascript:
  wrote:

  Hi Micah
 Well I won't be going, too far from New Zealand :-) Sounds like you are 
 the ideal person for the job!
 Here is a presentation I did for the Python User Group in Auckland 
 http://goo.gl/qeFrwy , feel free to plagiarise.
 It was based on Stephen's talk that he did to the PyCon APAC in 2014, 
 https://vimeo.com/103614826 and my own experiences.

 Good luck
 Graham



 On 09/06/15 09:02, Micah Yoder wrote:
  
 Hi,

 Any Mezzanine folks planning to be at PyTexas this year and talk about it?

 I'm thinking of submitting a talk proposal to introduce Mezzanine as the 
 hidden gem of the django ecosystem, but I'm sure I'm the least qualified 
 person on this list to talk about it, so I don't want to step on anyone's 
 toes!

 That said, I think I can give a decent introduction.  (I spoke there last 
 year about PostgreSQL's jsonb data type.)

 If anyone else here will be there, go ahead and talk about Mezzanine (if 
 you want), and I'll find a different topic!  If so it will be cool to see 
 you.

 Thanks!

  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.


 -- 
 T : 021 081 71732

  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Stephen McDonald
 http://jupo.org
  

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Re: new release?

2015-05-04 Thread Micah Yoder
Yay, I just made that change manually in my copy and that fixed it! Thanks!
Surely I'm not the first person who ran into that???

On Sunday, May 3, 2015 at 6:41:15 PM UTC-5, Stephen McDonald wrote:

 This looks like a packaging issue with the comments app, I've provided 
 them with a fix here:

 https://github.com/django/django-contrib-comments/pull/40

 If you'd like to make use of that now, you can specify my fork of the 
 comments app in the above PR as your dependency.


 On Mon, May 4, 2015 at 12:46 AM, Micah Yoder yod...@gmail.com 
 javascript: wrote:

 Hi,

 I've been trying to test out the upstream master code. I have a Python 
 3.4.3 virtualenv with django 1.8. When getting to the createdb step I'm 
 getting this error:

   File 
 /home/micah/testsite/venv/lib/python3.4/site-packages/django/db/migrations/loader.py,
  
 line 174, in build_graph 
self.load_disk() 
  File 
 /home/micah/testsite/venv/lib/python3.4/site-packages/django/db/migrations/loader.py,
  
 line 91, in load_disk 
for name in os.listdir(directory): 
 NotADirectoryError: [Errno 20] Not a directory: 
 '/home/micah/testsite/venv/lib/python3.4/site-packages/django_contrib_comments-1.6
 .0-py3.4.egg/django_comments/migrations'

 That egg file definitely exists and the django_comments/migrations 
 directory exists within it.

 I asked on IRC a few days ago and Stephen helpfully replied that I needed 
 the git master version of django-contrib-comments.  I grabbed that and 
 installed it and indeed that resolved the issue.  However, I then hit 
 another error, representing an out-of-sync between Mezzanine and 
 django-contrib-comments, which Stephen quickly fixed. Nice!  Unfortunately, 
 after I installed it, the above error came back. And that's where I still 
 am. :/

 Yes, I've re-installed the django-contrib-comments.  In fact I just now 
 pulled the latest mezzanine and django-contrib-comments, installed them in 
 that order, and I still get it.

 Any idea what's up/

 Thanks!

 Not a django expert but would like to get there. :)

  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Stephen McDonald
 http://jupo.org
  

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] Re: new release?

2015-05-03 Thread Micah Yoder
Hi,

I've been trying to test out the upstream master code. I have a Python 
3.4.3 virtualenv with django 1.8. When getting to the createdb step I'm 
getting this error:

  File 
/home/micah/testsite/venv/lib/python3.4/site-packages/django/db/migrations/loader.py,
 
line 174, in build_graph 
   self.load_disk() 
 File 
/home/micah/testsite/venv/lib/python3.4/site-packages/django/db/migrations/loader.py,
 
line 91, in load_disk 
   for name in os.listdir(directory): 
NotADirectoryError: [Errno 20] Not a directory: 
'/home/micah/testsite/venv/lib/python3.4/site-packages/django_contrib_comments-1.6
.0-py3.4.egg/django_comments/migrations'

That egg file definitely exists and the django_comments/migrations 
directory exists within it.

I asked on IRC a few days ago and Stephen helpfully replied that I needed 
the git master version of django-contrib-comments.  I grabbed that and 
installed it and indeed that resolved the issue.  However, I then hit 
another error, representing an out-of-sync between Mezzanine and 
django-contrib-comments, which Stephen quickly fixed. Nice!  Unfortunately, 
after I installed it, the above error came back. And that's where I still 
am. :/

Yes, I've re-installed the django-contrib-comments.  In fact I just now 
pulled the latest mezzanine and django-contrib-comments, installed them in 
that order, and I still get it.

Any idea what's up/

Thanks!

Not a django expert but would like to get there. :)

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] new release?

2015-04-02 Thread Micah Yoder
Indeed, thank you to all involved. I've also been watching, a bit 
anxiously, for a 1.7 based release. Now 1.8. Kind of hate to do much work 
on current site when big changes are coming. :)

I probably should jump in and see if I could help with fixing anything. I'm 
sure it would teach me a lot. (Out on vacation myself for 3 weeks though.)

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] South questions

2014-08-09 Thread Micah Yoder
Hi,

So I originally installed Mezzanine about 8 months ago and have put some 
content up on a couple sites.  Since then I have used easy_install to 
upgrade django and Mezzanine, but have not messed with South at all.  I'm 
somewhat of a django newbie, but trying to figure it all out.  I think it 
started with Mezzanine 1.5 or something like that and now of course it's on 
3.1.

I am not having any problems like DB errors yet but I suppose I am lucky.  
I probably should have looked at South from the beginning.

South has been installed on the sites from the beginning, but I have never 
intentionally done a migration.  I believe I answered 'no' when createdb 
asked if I wanted to do fake migrations.

Questions:

1) Is there a huge monster lurking in my setup somewhere that will 
eventually cause things to fail miserably, because I didn't manually do an 
initial migration?

2) I tried to do an initial migration, but South's schemamigration 
command expects a django *app*, and Mezzanine is a top level project, not 
an app.  So it is unclear to me how to force South to catch the whole 
thing.  If I give it the project name, it says that app does not exist.

I'd appreciate any clarity that can be provided (or even pointers to docs, 
because I've looked some but may have missed something).  Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.