0. Yep, just delete your secret key and get a new one - wont affect
anything negatively.
2. I put things like menus into the base.html template. It means a little
bit of hand coding once, but only once.
How to do it depends on your design. I personally am terrible at design, so
using bootstrap makes it dead easy. In bootstrap it is called a navbar:
http://getbootstrap.com/components/#navbar
3. I've only ever used {{csrf_token}} in forms. If you don't have one in a
form, I think it fails. Don't need it in other pages to my knowledge.
4. Django Packages is the best repo of django apps around:
https://www.djangopackages.com/ I have recently installed Zinnia. It was
dead easy and works well. Depends on what you need.

------
let's build quiet armies friends, let's march on their glass towers...let's
build fallen cathedrals and make impractical plans

- GYBE

On 22 May 2015 at 06:35, Derek Riemer <[email protected]> wrote:

> Hi guys,
> A few questions here.
>
> First of all,
>
> 0.
> Woopsi, I accidentally pushed my secret key to a public github multiple
> times (I must be an idiot Lol). Can I simply just change this key to a
> random string like those on https://www.grc.com/passwords.htm? Luckilly I
> never really did anything with django with this app where the secret key
> matters.
>
> 2. How is the best way to generate menus?
> I have pages such as these.
>
> My menu below this line.
> ---------------------------
> Personal website
> Random pieces of software.
> College/academic portfolio.
> Resume
> ...
>
> and under some of these I have things like
> software one currently has a weather app,
> the personal website will have
>     Home,
>     About Me,
>     Contact me form,
>     ...
>
> ..., ...
>
> Is there an already built django solution to this problem? I don't want to
> have to have repetative pages on each level of my menus, and have a set of
> template inheritance schemes already set up in my app. I already have a
> base.htm which my homepage, and 3 other pages already inherit from and that
> page specifies css styles and custom javascript.
>
> 3. Is it safe to put {{csrf_token}} in my app in the page since the cookie
> isn't there always?
> Can I tell python to send the cookie but not insert the token into the dom?
>
> 4. What type of django blogs exist? I kind of want to keep my blog data
> private, and don't know if I should migrate my current blog to wordpress
> from blogger, or just role something with django.
> Enter code here...
>
> Enter code here...
>
> Enter code here...
>
> Enter code here...
>
>
> Thanks,
> Derek
>
>
>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0e5b2b69-764b-4d55-a891-0a468743aff4%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0e5b2b69-764b-4d55-a891-0a468743aff4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGBeqiOVXwOVn%3Dpyiz8fp-3rFrEDiM%3DowOB%3DACjQRxVeGPbv_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to