I'm curious too ;-). I suspect you can do pretty much anything at the
project level that you can do at the app level but am not a pro in that
space by any measure. This might be a useful read:
https://stackoverflow.com/questions/4879036/django-projects-vs-apps
Regards,
Bernd.
Kubilay Yazoğlu wrote:
Hi there. I have only one week of experience in Django, some things
aren't clear to me yet.
I want to create a page where users can access by clicking on a button
in homepage.
Since this page contains plain text and there is no functionality in
it, it does not have be in any of the apps. But since I had to write
its view function in somewhere, I've written it in the same view file
of homepage (That's my thought. Correct me if I'm wrong)
First question is, where to define its view function? As I said I've
defined it in the same view file of homepage. Not sure if that's the
right way.
Secondly, how to define its url? I tried the following code but it
does not work. I get this error when I click on the button in
homepage: The current URL, |learnmore.html|, didn't match any of these.
url(r'^learnmore/$', learnmore_view)
--
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
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/d6750ede-da18-406a-a1e5-2336827b6ae3%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/d6750ede-da18-406a-a1e5-2336827b6ae3%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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/600ac680-d84d-8905-4535-78faea0dd6e5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.