Re: [mezzanine-users] Where can I view my Mezzanine project's data tables?

2018-01-05 Thread Erwin Sterrenburg
This link should give you the information you need:
https://docs.djangoproject.com/en/1.11/howto/initial-data/

On Wednesday, January 3, 2018 at 8:51:40 PM UTC+1, Tom Tanner wrote:
>
> I figured out most of it. I made a Postgres database for my project. Then 
> I changed `local_settings.py` to include connection info for my Postgres 
> database. Then I ran `python manage.py createdb`, which made tables in the 
> designated Postgres database and ran changes/additions to tables. 
>
> Now I just need to migrate data from the SQLite to the Postgres
>
> On Wednesday, January 3, 2018 at 2:15:05 PM UTC-5, Tom Tanner wrote:
>>
>> Ah, I found dev.db. How can I switch my Mezzanine project from using this 
>> SQLite database to a Postgres one? Then how do I migrate the SQLite data?
>>
>> On Tuesday, January 2, 2018 at 7:10:06 PM UTC-5, Eduardo Rivas wrote:
>>>
>>> Hi Tom. 
>>>
>>> If you configured postgres as your database backend, you can use pgAdmin 
>>> or any other viewer to access your tables. 
>>>
>>> If you started a Mezzanine project and didn't change the database 
>>> configuration, you're probably using a sqlite database. This is just a 
>>> regular file in your project folder, should be named dev.db. I don't know 
>>> of any tools to view those, but I recommend you search online for "sqlite 
>>> viewer" or something of that sort. 
>>>
>>> On Jan 2, 2018 5:44 PM, "Tom Tanner"  wrote:
>>>
>>> When I made my Mezzanine project, I used `python manage.py createdb 
>>> --noinput` when making the database. How do I view the database and its 
>>> tables from a GUI? For instance, pgAdmin, if the database was made in 
>>> PostgreSQL?
>>>
>>> -- 
>>> 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.
>>>
>>>
>>>

-- 
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] Forcing Page Link to open in new window

2017-10-11 Thread Erwin Sterrenburg
Just to let you guys know that I also really want/like this functionality.
For now, I'll either go for the jquery solution or inject an extra model 
field, but I'd like to see this as a part of the core functionality :)

Kind regards,
Erwin


On Tuesday, September 5, 2017 at 8:01:29 PM UTC+2, Christian Wiegand wrote:
>
> Hi Wim, 
>
> you got the point. This change is now a year old and since i'm not sure if 
> i'm still able to merge my changes to the actual mezzanine version, i 
> created a new fork where i checked in only the raw changes (9a85262 
> ).
>  
> The repository lacks all translation changes and the migrations file. Hope 
> that makes it more clear.
>
> Best regards,
>
> Christian
>
> 
> 
>

-- 
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.