Re: Please I need guidance

2024-02-10 Thread Lutalo Joseph Bbosa
DM I have done it for a client before

On Sat, Feb 10, 2024, 18:22 solomon chikezie 
wrote:

> Please I have a project I am About to start on Affiliate marketing using
> Django. Please I need someone to help me.
> Thank you
>
> On Fri, 9 Feb 2024, 15:31 machine learning, 
> wrote:
>
>> please send your previous work on cont...@aikingsolutions.com and
>> remember i am not able to pay you right now but i will share some amount we
>> mutually decided once we get profitable.
>>
>> On Fri, 9 Feb 2024, 7:57 pm Kondjee Kamutindi, 
>> wrote:
>>
>>> What time of project do you need assistance with?
>>>
>>> On Tue, Feb 6, 2024, 10:02 AM machine learning 
>>> wrote:
>>>
 anyone here to help me in our django project and in return we will give
 you access to software that will apply 100s of job for you and also hand on
 work experience.

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAKKYCB4FFeSCpDQEoYDDwO2Yz%2B93F7DL_LhcgBxiPe4Lzd0scQ%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CADOodnLgYvQnX%2BhT3nKbTVgf7_mkBPq9qKDFZYME_XPuqWt%3DYQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKKYCB4Z33bKcRha8Q%2Bg%2BmS1X%2BWursM1T3V9o4y7D%2BcJa1ypYQ%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAL6PaSRgNjtBQ1cZpQEj%3DhJgt79fRHB11%2BRqK8MYeaBwQmZjng%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DTx%2B071srSadNk%2BbFdvLWyOix9AWueYutGdUOg3z7c-uw%40mail.gmail.com.


Please I need guidance

2024-02-10 Thread solomon chikezie
Please I have a project I am About to start on Affiliate marketing using
Django. Please I need someone to help me.
Thank you

On Fri, 9 Feb 2024, 15:31 machine learning,  wrote:

> please send your previous work on cont...@aikingsolutions.com and
> remember i am not able to pay you right now but i will share some amount we
> mutually decided once we get profitable.
>
> On Fri, 9 Feb 2024, 7:57 pm Kondjee Kamutindi, 
> wrote:
>
>> What time of project do you need assistance with?
>>
>> On Tue, Feb 6, 2024, 10:02 AM machine learning 
>> wrote:
>>
>>> anyone here to help me in our django project and in return we will give
>>> you access to software that will apply 100s of job for you and also hand on
>>> work experience.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAKKYCB4FFeSCpDQEoYDDwO2Yz%2B93F7DL_LhcgBxiPe4Lzd0scQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CADOodnLgYvQnX%2BhT3nKbTVgf7_mkBPq9qKDFZYME_XPuqWt%3DYQ%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKKYCB4Z33bKcRha8Q%2Bg%2BmS1X%2BWursM1T3V9o4y7D%2BcJa1ypYQ%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL6PaSRgNjtBQ1cZpQEj%3DhJgt79fRHB11%2BRqK8MYeaBwQmZjng%40mail.gmail.com.


Re: Need guidance

2021-05-20 Thread lalit suthar
postgres ArrayField will be suitable for your requirement. Serialization 
will work the same like it works for other fields.
On Thursday, 20 May 2021 at 21:00:14 UTC+5:30 xaadx...@gmail.com wrote:

> I wanna to store multiple value in django model using DRF e.g. i have to 
> choose three days from a week. I am using django rest framework. I have 
> tried many solution but failed
>
>
>
> 1. Which field i have to implement in django  model? CharField? Postgre 
> ArrayField?
> 2. How to serialize the data to store multiple values
>
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dccb57a6-60c5-46dd-bc07-e80b838b33e3n%40googlegroups.com.


Need guidance

2021-05-20 Thread Muhammad Shehzad
I wanna to store multiple value in django model using DRF e.g. i have to 
choose three days from a week. I am using django rest framework. I have 
tried many solution but failed



1. Which field i have to implement in django  model? CharField? Postgre 
ArrayField?
2. How to serialize the data to store multiple values


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bc8ca439-ae30-4d26-8067-bedff3d1cd0fn%40googlegroups.com.


Re: Need Guidance to setup Django with MS SQL server

2020-10-11 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer?
 We can help you in this and related tasks at fair prices. Reply or send
email to divy...@pythonmate.com
Best Regards,
Divyesh Khamele,
Pythonmate

On Thu, 8 Oct 2020, 12:06 am arun sahu,  wrote:

> Hi Geeks,
>
> I need your support for setting up my django project with MS SQL server.
>
> As there is no proper tutorial how to setup with MS SQL server. I tried it
> many times but failed with same errors. Please help me to progress.
>
> Tried below :
>  'ods_database': {
> 'ENGINE': 'sql_server.pyodbc',
> 'NAME': 'test',
> 'HOST': '***',
> 'PORT':'1433',
> 'USER': '***',
> 'PASSWORD': '***',
>
> 'OPTIONS':{
> 'driver': 'ODBC Driver 17 for SQL Server',
> }
> }
>
> Error:
>
> File
> "C:\Dropbox\React\DjangoReact\backend\env\lib\site-packages\sql_server\pyodbc\base.py",
> line 12, in 
> raise ImproperlyConfigured("Django %d.%d.%d is not supported." %
> VERSION[:3])
> django.core.exceptions.ImproperlyConfigured: Django 3.1.2 is not supported.
>
> Thanks,
> Arun
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8972677a-651e-4465-8a94-5787e9ab4df9n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAH9mneVYg6dX%3Du_-Uar3JM91-XbGzh9CiXdr1yDU8UMwm1HAUA%40mail.gmail.com.


Re: Need Guidance to setup Django with MS SQL server

2020-10-07 Thread Eugene TUYIZERE
try this
https://django-mssql.readthedocs.io/en/latest/quickstart.html#dependencies
OR
https://stackoverflow.com/questions/43430091/connecting-django-with-mssql-server

On Wed, 7 Oct 2020 at 20:36, arun sahu  wrote:

> Hi Geeks,
>
> I need your support for setting up my django project with MS SQL server.
>
> As there is no proper tutorial how to setup with MS SQL server. I tried it
> many times but failed with same errors. Please help me to progress.
>
> Tried below :
>  'ods_database': {
> 'ENGINE': 'sql_server.pyodbc',
> 'NAME': 'test',
> 'HOST': '***',
> 'PORT':'1433',
> 'USER': '***',
> 'PASSWORD': '***',
>
> 'OPTIONS':{
> 'driver': 'ODBC Driver 17 for SQL Server',
> }
> }
>
> Error:
>
> File
> "C:\Dropbox\React\DjangoReact\backend\env\lib\site-packages\sql_server\pyodbc\base.py",
> line 12, in 
> raise ImproperlyConfigured("Django %d.%d.%d is not supported." %
> VERSION[:3])
> django.core.exceptions.ImproperlyConfigured: Django 3.1.2 is not supported.
>
> Thanks,
> Arun
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8972677a-651e-4465-8a94-5787e9ab4df9n%40googlegroups.com
> 
> .
>


-- 
*TUYIZERE Eugene*



*Msc Degree in Mathematical Science*

*African Institute for Mathematical Sciences (AIMS Cameroon)Crystal
Garden-Lime, Cameroon*

Bsc in Computer Science

*UR-Nyagatare Campus*

Email: eugene.tuyiz...@aims-cameroon.org
   eugenetuyiz...@gmail.com

Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABxpZHuw4zWoUhvajNy1EnyRyCsDR76EZ%3DExegvmU8_B-XHSUQ%40mail.gmail.com.


Need Guidance to setup Django with MS SQL server

2020-10-07 Thread arun sahu
Hi Geeks,

I need your support for setting up my django project with MS SQL server.

As there is no proper tutorial how to setup with MS SQL server. I tried it 
many times but failed with same errors. Please help me to progress.

Tried below :
 'ods_database': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'test',
'HOST': '***',
'PORT':'1433',
'USER': '***',
'PASSWORD': '***',

'OPTIONS':{
'driver': 'ODBC Driver 17 for SQL Server',
}
}

Error: 

File 
"C:\Dropbox\React\DjangoReact\backend\env\lib\site-packages\sql_server\pyodbc\base.py",
 
line 12, in 
raise ImproperlyConfigured("Django %d.%d.%d is not supported." % 
VERSION[:3])
django.core.exceptions.ImproperlyConfigured: Django 3.1.2 is not supported.

Thanks,
Arun

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8972677a-651e-4465-8a94-5787e9ab4df9n%40googlegroups.com.


Re: Need Guidance

2020-06-28 Thread Ogunsanya Opeyemi
Can you share your template, url, and views, lets check it to see how to
solve the problem

On Sunday, June 28, 2020, yammunap...@gmail.com 
wrote:

> Yes  naming the location is ok. But If I sort one location other location
> should be hide and details should be visible
>
>
>
> *From: *Ogunsanya Opeyemi 
> *Sent: *Sunday, 28 June 2020 1:38 PM
> *To: *django-users@googlegroups.com
> *Subject: *Re: Need Guidance
>
>
>
> Hi, Name the first location as location1 and the second location as
> location2.
>
>
>
> On Sun, Jun 28, 2020, 6:14 AM yammu...@gmail.com 
> wrote:
>
> Hello Everyone,
>
>
>
> if any one please give me an guidance how to add secondary fields in
> models in backend. for example if i add a secondary location to the google
> company then i will have one more card details with location of india and
> another card of the same company detail should be same but location willl
> be the secondary location.
>
>
>
> looking for the guidance
>
>
>
> Thank you in advance.
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/0a32f741-6334-4db4-a824-af75de2645f9n%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0a32f741-6334-4db4-a824-af75de2645f9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CABJxPrEpGD%3DVKSqLds%3DjQi-
> ScfQiRZuUUeUE3Q_h%2B_PjwehMsw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CABJxPrEpGD%3DVKSqLds%3DjQi-ScfQiRZuUUeUE3Q_h%2B_PjwehMsw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/970A851E-B852-4131-9A08-DFA483E8A6D0%40hxcore.ol
> <https://groups.google.com/d/msgid/django-users/970A851E-B852-4131-9A08-DFA483E8A6D0%40hxcore.ol?utm_medium=email&utm_source=footer>
> .
>


-- 
OGUNSANYA OPEYEMI

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABJxPrFA0pR5VBeyfTzrXN2RvRCEh93DpLJQ9UK%2B4vrSKH50pQ%40mail.gmail.com.


RE: Need Guidance

2020-06-27 Thread yammunap...@gmail.com
Yes  naming the location is ok. But If I sort one location other location should be hide and details should be visible From: Ogunsanya OpeyemiSent: Sunday, 28 June 2020 1:38 PMTo: django-users@googlegroups.comSubject: Re: Need Guidance Hi, Name the first location as location1 and the second location as location2. On Sun, Jun 28, 2020, 6:14 AM yammu...@gmail.com <yammunap...@gmail.com> wrote:Hello Everyone, if any one please give me an guidance how to add secondary fields in models in backend. for example if i add a secondary location to the google company then i will have one more card details with location of india and another card of the same company detail should be same but location willl be the secondary location. looking for the guidance  Thank you in advance.  -- You received this message because you are subscribed to the Google Groups "Django users" group.To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0a32f741-6334-4db4-a824-af75de2645f9n%40googlegroups.com.-- You received this message because you are subscribed to the Google Groups "Django users" group.To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABJxPrEpGD%3DVKSqLds%3DjQi-ScfQiRZuUUeUE3Q_h%2B_PjwehMsw%40mail.gmail.com. 



-- 
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/970A851E-B852-4131-9A08-DFA483E8A6D0%40hxcore.ol.


Re: Need Guidance

2020-06-27 Thread Ogunsanya Opeyemi
Hi, Name the first location as location1 and the second location as
location2.

On Sun, Jun 28, 2020, 6:14 AM yammu...@gmail.com 
wrote:

> Hello Everyone,
>
> if any one please give me an guidance how to add secondary fields in
> models in backend. for example if i add a secondary location to the google
> company then i will have one more card details with location of india and
> another card of the same company detail should be same but location willl
> be the secondary location.
>
> looking for the guidance
>
> Thank you in advance.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0a32f741-6334-4db4-a824-af75de2645f9n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABJxPrEpGD%3DVKSqLds%3DjQi-ScfQiRZuUUeUE3Q_h%2B_PjwehMsw%40mail.gmail.com.


Need Guidance

2020-06-27 Thread yammu...@gmail.com
Hello Everyone,

if any one please give me an guidance how to add secondary fields in models 
in backend. for example if i add a secondary location to the google company 
then i will have one more card details with location of india and another 
card of the same company detail should be same but location willl be the 
secondary location.

looking for the guidance 

Thank you in advance.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0a32f741-6334-4db4-a824-af75de2645f9n%40googlegroups.com.


Re: Need guidance on static website conversion to Django

2013-02-07 Thread Steve Metivier
Thanks very much for the advice. I'm pretty sure that's the approach I'm 
going to take.
--steve

On Wednesday, February 6, 2013 3:59:59 PM UTC-7, Harry Houdini wrote:
>
>
> Maintaining that many static files has really got to suck, this is where 
> Django is going to help you a lot. First step for you because you are just 
> starting out it to play around with Django, build some base templates and 
> try extending them until you get your templates looking how you want. Then 
> go ahead and design the DB in a way that makes sense for making it easy to 
> edit and display your site content (and to add whatever features on top of 
> that you want- e.g the voting thing you wanted to add). 
>
> And overall think it would make more sense to start with a vanilla Django 
> install and get a feel for it before you jump to Mezzanine. I looked at 
> Mezzanine for a project and spent a few days messing around with it and 
> building up a site and I have to say that it adds a ton of functionality on 
> top of Django but has a learning curve when it comes to customization. They 
> modified django a lot compared to something like DjangoCMS I would say 
> (which is more of a plugin). Mezzanine is also pretty new and under very 
> active development (I follow their repo on Github, its pretty active) but 
> you can usually talk to people on their IRC channel about it if you get 
> stuck (its on freenode). 
>
> You might find you can build it fast enough with vanilla Django and a few 
> unobtrusive plugins and that you dont need the CMS stuff (django.admin does 
> a lot actually but has some limits).
>
>
>
> On Tuesday, February 5, 2013 1:37:06 PM UTC-5, Steve Metivier wrote:
>>
>>
>>- Project: Convert an essentially static HTML website and its 
>>attached WordPress blog, to Django, to improve on its currently slow load 
>>time, and to enable its functionality to be extended. (It’s currently 
>>implemented on a platform that I believe introduces significant overhead 
>> at 
>>runtime, and is very restrictive in extensibility. It’s on one of those 
>>“build your own website with no technical expertise” platforms.) 
>>I should note that I do have technical expertise, having been a 
>>professional developer in C for many years, and I now have a decent 
>> handle 
>>on HTML and CSS, but am a beginner with both Python and Django.
>>- The website is a famous quotes site. (It’s 
>>www.InspirationalSpark.com , if 
>>you want to take a look.) Each page focuses on a specific subject (which 
>>its URL indicates), and is comprised of some introductory text, including 
>>meta tags, followed by 12-20 famous quote entries, each made up of the 
>>quote itself, it’s author, and a short description. Finally, there are 
>>related page links at the bottom, and AdSense in several places. The 
>>navigation consists of topic links in the left column, and there is also 
>> a 
>>right column containing various elements that are shared on all pages.
>>- I envision each quote becoming a standalone object, so it can be 
>>shared socially and, eventually, rated/voted. I intend for each quote to 
>> be 
>>associated with a single topic page, for the most part.
>>- The purpose of the *blog* is to allow daily additions of new 
>>quotes, which are scheduled as a “quote of the day”, go out to a feed, 
>> and 
>>are posted to an associated Facebook page and to Twitter, and then listed 
>>on one of the topic pages. I don’t actually want the individual posts to 
>> be 
>>visible to the search engines, due to the thin content issue. They should 
>>only be visible within one of the topic pages, and on the home page.
>>- It’s critical that the page URLs remain unchanged, due to the 
>>number of inbound links that already exist, and current traffic (around 
>>10,000 views/day).
>>- I think what I’m looking for is a CMS, with a twist, to enable 
>>multiple objects per page. 
>>Here’s the long-term plan:
>>- Phase 1 – re-implement the website (separate from the blog), as is, 
>>in Django, to hopefully improve its currently poor load time. High 
>> priority 
>>is given to maintaining the current URLs completely, for SEO reasons, and 
>>to time to production launch.
>>- Phase 2 – migrate the current WordPress blog to Django.
>>- Phase 3 – add social media buttons to each quote on the page – for 
>>Facebook and twitter.
>>- Phase 4 – add user-created pages, where they can store and display 
>>their favorite quotes, with accounts and registration.
>>- Phase 5 – add voting on individual quotes within a page.
>>- Getting to phase 1 completion is a high priority, even if it means 
>>reworking components later to do so.
>>- The admin interface would need to provide for adding new quotes, 
>>and assigning them to topic pages, plus adding new topic pages. 

Re: Need guidance on static website conversion to Django

2013-02-06 Thread Harry Houdini

Maintaining that many static files has really got to suck, this is where 
Django is going to help you a lot. First step for you because you are just 
starting out it to play around with Django, build some base templates and 
try extending them until you get your templates looking how you want. Then 
go ahead and design the DB in a way that makes sense for making it easy to 
edit and display your site content (and to add whatever features on top of 
that you want- e.g the voting thing you wanted to add). 

And overall think it would make more sense to start with a vanilla Django 
install and get a feel for it before you jump to Mezzanine. I looked at 
Mezzanine for a project and spent a few days messing around with it and 
building up a site and I have to say that it adds a ton of functionality on 
top of Django but has a learning curve when it comes to customization. They 
modified django a lot compared to something like DjangoCMS I would say 
(which is more of a plugin). Mezzanine is also pretty new and under very 
active development (I follow their repo on Github, its pretty active) but 
you can usually talk to people on their IRC channel about it if you get 
stuck (its on freenode). 

You might find you can build it fast enough with vanilla Django and a few 
unobtrusive plugins and that you dont need the CMS stuff (django.admin does 
a lot actually but has some limits).



On Tuesday, February 5, 2013 1:37:06 PM UTC-5, Steve Metivier wrote:
>
>
>- Project: Convert an essentially static HTML website and its attached 
>WordPress blog, to Django, to improve on its currently slow load time, and 
>to enable its functionality to be extended. (It’s currently implemented on 
>a platform that I believe introduces significant overhead at runtime, and 
>is very restrictive in extensibility. It’s on one of those “build your own 
>website with no technical expertise” platforms.) 
>I should note that I do have technical expertise, having been a 
>professional developer in C for many years, and I now have a decent handle 
>on HTML and CSS, but am a beginner with both Python and Django.
>- The website is a famous quotes site. (It’s 
> www.InspirationalSpark.com, 
>if you want to take a look.) Each page focuses on a specific subject 
> (which 
>its URL indicates), and is comprised of some introductory text, including 
>meta tags, followed by 12-20 famous quote entries, each made up of the 
>quote itself, it’s author, and a short description. Finally, there are 
>related page links at the bottom, and AdSense in several places. The 
>navigation consists of topic links in the left column, and there is also a 
>right column containing various elements that are shared on all pages.
>- I envision each quote becoming a standalone object, so it can be 
>shared socially and, eventually, rated/voted. I intend for each quote to 
> be 
>associated with a single topic page, for the most part.
>- The purpose of the *blog* is to allow daily additions of new quotes, 
>which are scheduled as a “quote of the day”, go out to a feed, and are 
>posted to an associated Facebook page and to Twitter, and then listed on 
>one of the topic pages. I don’t actually want the individual posts to be 
>visible to the search engines, due to the thin content issue. They should 
>only be visible within one of the topic pages, and on the home page.
>- It’s critical that the page URLs remain unchanged, due to the number 
>of inbound links that already exist, and current traffic (around 10,000 
>views/day).
>- I think what I’m looking for is a CMS, with a twist, to enable 
>multiple objects per page. 
>Here’s the long-term plan:
>- Phase 1 – re-implement the website (separate from the blog), as is, 
>in Django, to hopefully improve its currently poor load time. High 
> priority 
>is given to maintaining the current URLs completely, for SEO reasons, and 
>to time to production launch.
>- Phase 2 – migrate the current WordPress blog to Django.
>- Phase 3 – add social media buttons to each quote on the page – for 
>Facebook and twitter.
>- Phase 4 – add user-created pages, where they can store and display 
>their favorite quotes, with accounts and registration.
>- Phase 5 – add voting on individual quotes within a page.
>- Getting to phase 1 completion is a high priority, even if it means 
>reworking components later to do so.
>- The admin interface would need to provide for adding new quotes, and 
>assigning them to topic pages, plus adding new topic pages. In the current 
>Wordpress blog implementation, it’s very handy to be able to specify each 
>of the fields for a quote entry via a form, then pick the category from a 
>list. It would be nice to keep this type of interface.
>- The scheduling of new “posts” feature is also d

Re: Need guidance on static website conversion to Django

2013-02-05 Thread Steve Metivier
That may well be an immediate step I could take to speed up load times, but 
improving load times is only one of the reasons for the conversion.  I also 
want to replace the current Wordpress blog, and add new functionality, such 
as the ability for visitors to share quotes socially, support user-created 
pages, etc. Finally, the current static files are a real problem to 
maintain and add to. 

On Tuesday, February 5, 2013 2:01:56 PM UTC-7, אברהם סרור wrote:
>
> if the site is static why use a cms? just serve the static files, you 
> won't get any faster than that
>
>
> On Tue, Feb 5, 2013 at 8:37 PM, Steve Metivier 
> 
> > wrote:
>
>>
>>- Project: Convert an essentially static HTML website and its 
>>attached WordPress blog, to Django, to improve on its currently slow load 
>>time, and to enable its functionality to be extended. (It’s currently 
>>implemented on a platform that I believe introduces significant overhead 
>> at 
>>runtime, and is very restrictive in extensibility. It’s on one of those 
>>“build your own website with no technical expertise” platforms.) 
>>I should note that I do have technical expertise, having been a 
>>professional developer in C for many years, and I now have a decent 
>> handle 
>>on HTML and CSS, but am a beginner with both Python and Django.
>>- The website is a famous quotes site. (It’s 
>>www.InspirationalSpark.com , if 
>>you want to take a look.) Each page focuses on a specific subject (which 
>>its URL indicates), and is comprised of some introductory text, including 
>>meta tags, followed by 12-20 famous quote entries, each made up of the 
>>quote itself, it’s author, and a short description. Finally, there are 
>>related page links at the bottom, and AdSense in several places. The 
>>navigation consists of topic links in the left column, and there is also 
>> a 
>>right column containing various elements that are shared on all pages.
>>- I envision each quote becoming a standalone object, so it can be 
>>shared socially and, eventually, rated/voted. I intend for each quote to 
>> be 
>>associated with a single topic page, for the most part.
>>- The purpose of the *blog* is to allow daily additions of new 
>>quotes, which are scheduled as a “quote of the day”, go out to a feed, 
>> and 
>>are posted to an associated Facebook page and to Twitter, and then listed 
>>on one of the topic pages. I don’t actually want the individual posts to 
>> be 
>>visible to the search engines, due to the thin content issue. They should 
>>only be visible within one of the topic pages, and on the home page.
>>- It’s critical that the page URLs remain unchanged, due to the 
>>number of inbound links that already exist, and current traffic (around 
>>10,000 views/day).
>>- I think what I’m looking for is a CMS, with a twist, to enable 
>>multiple objects per page. 
>>Here’s the long-term plan:
>>- Phase 1 – re-implement the website (separate from the blog), as is, 
>>in Django, to hopefully improve its currently poor load time. High 
>> priority 
>>is given to maintaining the current URLs completely, for SEO reasons, and 
>>to time to production launch.
>>- Phase 2 – migrate the current WordPress blog to Django.
>>- Phase 3 – add social media buttons to each quote on the page – for 
>>Facebook and twitter.
>>- Phase 4 – add user-created pages, where they can store and display 
>>their favorite quotes, with accounts and registration.
>>- Phase 5 – add voting on individual quotes within a page.
>>- Getting to phase 1 completion is a high priority, even if it means 
>>reworking components later to do so.
>>- The admin interface would need to provide for adding new quotes, 
>>and assigning them to topic pages, plus adding new topic pages. In the 
>>current Wordpress blog implementation, it’s very handy to be able to 
>>specify each of the fields for a quote entry via a form, then pick the 
>>category from a list. It would be nice to keep this type of interface.
>>- The scheduling of new “posts” feature is also desirable, so I can 
>>batch up new additions, and trickle them out, updating the home page 
>> daily.
>>
>>  
>>
>> The big question: Should I start with a Django CMS like Mezzanine, and 
>> modify it as needed, start from some other open source project, or start 
>> from scratch?
>>
>>
>>
>> Thanks.
>>
>> --steve
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.c

Re: Need guidance on static website conversion to Django

2013-02-05 Thread Avraham Serour
if the site is static why use a cms? just serve the static files, you won't
get any faster than that


On Tue, Feb 5, 2013 at 8:37 PM, Steve Metivier  wrote:

>
>- Project: Convert an essentially static HTML website and its attached
>WordPress blog, to Django, to improve on its currently slow load time, and
>to enable its functionality to be extended. (It’s currently implemented on
>a platform that I believe introduces significant overhead at runtime, and
>is very restrictive in extensibility. It’s on one of those “build your own
>website with no technical expertise” platforms.)
>I should note that I do have technical expertise, having been a
>professional developer in C for many years, and I now have a decent handle
>on HTML and CSS, but am a beginner with both Python and Django.
>- The website is a famous quotes site. (It’s 
> www.InspirationalSpark.com,
>if you want to take a look.) Each page focuses on a specific subject (which
>its URL indicates), and is comprised of some introductory text, including
>meta tags, followed by 12-20 famous quote entries, each made up of the
>quote itself, it’s author, and a short description. Finally, there are
>related page links at the bottom, and AdSense in several places. The
>navigation consists of topic links in the left column, and there is also a
>right column containing various elements that are shared on all pages.
>- I envision each quote becoming a standalone object, so it can be
>shared socially and, eventually, rated/voted. I intend for each quote to be
>associated with a single topic page, for the most part.
>- The purpose of the *blog* is to allow daily additions of new quotes,
>which are scheduled as a “quote of the day”, go out to a feed, and are
>posted to an associated Facebook page and to Twitter, and then listed on
>one of the topic pages. I don’t actually want the individual posts to be
>visible to the search engines, due to the thin content issue. They should
>only be visible within one of the topic pages, and on the home page.
>- It’s critical that the page URLs remain unchanged, due to the number
>of inbound links that already exist, and current traffic (around 10,000
>views/day).
>- I think what I’m looking for is a CMS, with a twist, to enable
>multiple objects per page.
>Here’s the long-term plan:
>- Phase 1 – re-implement the website (separate from the blog), as is,
>in Django, to hopefully improve its currently poor load time. High priority
>is given to maintaining the current URLs completely, for SEO reasons, and
>to time to production launch.
>- Phase 2 – migrate the current WordPress blog to Django.
>- Phase 3 – add social media buttons to each quote on the page – for
>Facebook and twitter.
>- Phase 4 – add user-created pages, where they can store and display
>their favorite quotes, with accounts and registration.
>- Phase 5 – add voting on individual quotes within a page.
>- Getting to phase 1 completion is a high priority, even if it means
>reworking components later to do so.
>- The admin interface would need to provide for adding new quotes, and
>assigning them to topic pages, plus adding new topic pages. In the current
>Wordpress blog implementation, it’s very handy to be able to specify each
>of the fields for a quote entry via a form, then pick the category from a
>list. It would be nice to keep this type of interface.
>- The scheduling of new “posts” feature is also desirable, so I can
>batch up new additions, and trickle them out, updating the home page daily.
>
>
>
> The big question: Should I start with a Django CMS like Mezzanine, and
> modify it as needed, start from some other open source project, or start
> from scratch?
>
>
>
> Thanks.
>
> --steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Need guidance on static website conversion to Django

2013-02-05 Thread Steve Metivier
 
   
   - Project: Convert an essentially static HTML website and its attached 
   WordPress blog, to Django, to improve on its currently slow load time, and 
   to enable its functionality to be extended. (It’s currently implemented on 
   a platform that I believe introduces significant overhead at runtime, and 
   is very restrictive in extensibility. It’s on one of those “build your own 
   website with no technical expertise” platforms.) 
   I should note that I do have technical expertise, having been a 
   professional developer in C for many years, and I now have a decent handle 
   on HTML and CSS, but am a beginner with both Python and Django.
   - The website is a famous quotes site. (It’s 
www.InspirationalSpark.com, 
   if you want to take a look.) Each page focuses on a specific subject (which 
   its URL indicates), and is comprised of some introductory text, including 
   meta tags, followed by 12-20 famous quote entries, each made up of the 
   quote itself, it’s author, and a short description. Finally, there are 
   related page links at the bottom, and AdSense in several places. The 
   navigation consists of topic links in the left column, and there is also a 
   right column containing various elements that are shared on all pages.
   - I envision each quote becoming a standalone object, so it can be 
   shared socially and, eventually, rated/voted. I intend for each quote to be 
   associated with a single topic page, for the most part.
   - The purpose of the *blog* is to allow daily additions of new quotes, 
   which are scheduled as a “quote of the day”, go out to a feed, and are 
   posted to an associated Facebook page and to Twitter, and then listed on 
   one of the topic pages. I don’t actually want the individual posts to be 
   visible to the search engines, due to the thin content issue. They should 
   only be visible within one of the topic pages, and on the home page.
   - It’s critical that the page URLs remain unchanged, due to the number 
   of inbound links that already exist, and current traffic (around 10,000 
   views/day).
   - I think what I’m looking for is a CMS, with a twist, to enable 
   multiple objects per page. 
   Here’s the long-term plan:
   - Phase 1 – re-implement the website (separate from the blog), as is, in 
   Django, to hopefully improve its currently poor load time. High priority is 
   given to maintaining the current URLs completely, for SEO reasons, and to 
   time to production launch.
   - Phase 2 – migrate the current WordPress blog to Django.
   - Phase 3 – add social media buttons to each quote on the page – for 
   Facebook and twitter.
   - Phase 4 – add user-created pages, where they can store and display 
   their favorite quotes, with accounts and registration.
   - Phase 5 – add voting on individual quotes within a page.
   - Getting to phase 1 completion is a high priority, even if it means 
   reworking components later to do so.
   - The admin interface would need to provide for adding new quotes, and 
   assigning them to topic pages, plus adding new topic pages. In the current 
   Wordpress blog implementation, it’s very handy to be able to specify each 
   of the fields for a quote entry via a form, then pick the category from a 
   list. It would be nice to keep this type of interface.
   - The scheduling of new “posts” feature is also desirable, so I can 
   batch up new additions, and trickle them out, updating the home page daily.

 

The big question: Should I start with a Django CMS like Mezzanine, and 
modify it as needed, start from some other open source project, or start 
from scratch?



Thanks.

--steve

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Need guidance on multiple domain site configuration.

2007-04-24 Thread Nick Tidey

Awesome. Thanks Doug.

That's precisely what I've been working towards over the last couple
of hours, but didn't know about search paths in Postgres. I was trying
to handle it within Django by prefixing a "SCHEMA_PREFIX" to the table
name on my own app models (of which there aren't many).

Unfortunately it didn't work anyway. Django's escaping of the SQL
arguments means you end with a table called "SCHEMA_PREFIX.model" in
the public schema.

I'll do it your way.

Nick

On Apr 25, 1:29 pm, Doug Van Horn <[EMAIL PROTECTED]> wrote:
> On Apr 24, 5:59 pm, Nick Tidey <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the help Robin. I'm new to Python also, so wasn't too sure
> > about how to reuse the apps.
>
> > I'll see if I can't use triggers to propagate the user information
> > between databases. Unless there's a better way?
>
> You could install your common django applications (auth, sites,
> sessions, etc.) into the public schema.  Then give each domain their
> own schema in which to install their tables (say, foo_tld).  Then, set
> each domain database user's "search_path" equal to "foo_tld,public".
> Give each domain their own settings.py and their own database user,
> and you should be good to go.
>
> That would let you share the common tables across the different
> projects, but each domain/schema/database user would have their own
> set of tables and data.
>
> I've done this before in PostgreSQL.  I don't know how MySql would
> handle something like this.
>
> FWIW,
>
> doug.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Need guidance on multiple domain site configuration.

2007-04-24 Thread Nick Tidey

Hello all.

I'm creating a CMS/e-commerce Django project for a client which will
ultimately be used to handle content for three different domains.

In terms of sharing of resources:
- content will not be shared between sites
- public templates will differ between sites
- the administration interface is the same for all sites (a customised
version of the Django administration interface)
- each site will use the same group of Django apps
- the client would like administration user accounts to be shared
across all sites
- I would like each site to at least use a separate set of tables;
preferably separate databases

I'm new to Django and I've read up on Django's site framework; read
about various Apache configurations, searched for information on
multiple database connections in Django, etc. There's a lot to take
in.

I'm hoping someone can suggest a way to handle this.

I'm looking to host the sites on a WebFaction shared account.

Thanks
Nick


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Need guidance on multiple domain site configuration.

2007-04-24 Thread robin_percy

I think everything could be accomplished by creating a separate
settings.py file for each site, and pointing to them in your virtual
hosts.  By installing your apps outside the project dirs, but still in
the PYTHON_PATH, you can refer to the same app dirs in all settings
files.  The only problem I can see is if you specify a different DB in
each settings.py, you'll need to create the same admin accounts in
each.

-Robin

On Apr 24, 7:22 am, Nick Tidey <[EMAIL PROTECTED]> wrote:
> Hello all.
>
> I'm creating a CMS/e-commerce Django project for a client which will
> ultimately be used to handle content for three different domains.
>
> In terms of sharing of resources:
> - content will not be shared between sites
> - public templates will differ between sites
> - the administration interface is the same for all sites (a customised
> version of the Django administration interface)
> - each site will use the same group of Django apps
> - the client would like administration user accounts to be shared
> across all sites
> - I would like each site to at least use a separate set of tables;
> preferably separate databases
>
> I'm new to Django and I've read up on Django's site framework; read
> about various Apache configurations, searched for information on
> multiple database connections in Django, etc. There's a lot to take
> in.
>
> I'm hoping someone can suggest a way to handle this.
>
> I'm looking to host the sites on a WebFaction shared account.
>
> Thanks
> Nick


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Need guidance on multiple domain site configuration.

2007-04-24 Thread Doug Van Horn

On Apr 24, 5:59 pm, Nick Tidey <[EMAIL PROTECTED]> wrote:
> Thanks for the help Robin. I'm new to Python also, so wasn't too sure
> about how to reuse the apps.
>
> I'll see if I can't use triggers to propagate the user information
> between databases. Unless there's a better way?
>

You could install your common django applications (auth, sites,
sessions, etc.) into the public schema.  Then give each domain their
own schema in which to install their tables (say, foo_tld).  Then, set
each domain database user's "search_path" equal to "foo_tld,public".
Give each domain their own settings.py and their own database user,
and you should be good to go.

That would let you share the common tables across the different
projects, but each domain/schema/database user would have their own
set of tables and data.

I've done this before in PostgreSQL.  I don't know how MySql would
handle something like this.


FWIW,

doug.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Need guidance on multiple domain site configuration.

2007-04-24 Thread Nick Tidey

Thanks for the help Robin. I'm new to Python also, so wasn't too sure
about how to reuse the apps.

I'll see if I can't use triggers to propagate the user information
between databases. Unless there's a better way?

On Apr 25, 3:02 am, robin_percy <[EMAIL PROTECTED]> wrote:
> I think everything could be accomplished by creating a separate
> settings.py file for each site, and pointing to them in your virtual
> hosts.  By installing your apps outside the project dirs, but still in
> the PYTHON_PATH, you can refer to the same app dirs in all settings
> files.  The only problem I can see is if you specify a different DB in
> each settings.py, you'll need to create the same admin accounts in
> each.
>
> -Robin
>
> On Apr 24, 7:22 am, Nick Tidey <[EMAIL PROTECTED]> wrote:
>
> > Hello all.
>
> > I'm creating a CMS/e-commerce Django project for a client which will
> > ultimately be used to handle content for three different domains.
>
> > In terms of sharing of resources:
> > - content will not be shared between sites
> > - public templates will differ between sites
> > - the administration interface is the same for all sites (a customised
> > version of the Django administration interface)
> > - each site will use the same group of Django apps
> > - the client would like administration user accounts to be shared
> > across all sites
> > - I would like each site to at least use a separate set of tables;
> > preferably separate databases
>
> > I'm new to Django and I've read up on Django's site framework; read
> > about various Apache configurations, searched for information on
> > multiple database connections in Django, etc. There's a lot to take
> > in.
>
> > I'm hoping someone can suggest a way to handle this.
>
> > I'm looking to host the sites on a WebFaction shared account.
>
> > Thanks
> > Nick


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---