I did not understand what you said regarding having a standard layout. I mean I am already using the layout that was explained in the Django tutorials. Keeping all my HTML in the template directory and all static files in the static directory with namespacing with the app name which is BookMarker. Is there some other layout?
I used CharField instead of URLField because there is a problem with URLField. It is not allowing me to add local files as bookmarks which is actually valid URL. I mean currently I have bookmarks in my browser like
file:///D:/Study/Docs/Python/python-3.4.0-docs-html/index.html
It is perfectly valid URL but URLField is marking it as invalid. So I used CharField.
The second part about relative imports. I have never understood how relative imports work. I mean the syntax. I have went through the PEP to understand it and did a lot of google searches but that is something that I never got the hang of. Is there any specific reason that I should be using them?
The app's goal is for me to be able to us this app for storing and using my bookmarks through the app instead of my webbrowser. The problem is that I have lot of bookmarks. Both offline and online bookmarks which I am currently maintaining in a multiple hierarchy of bookmark folders. It is going messy. I need this app to be an application that I can use to add, update, delete, view bookmarks by categories. Adding, deleting categories and searching by categories is also necessary for me to switch to this app. Otherwise there is no benefit.
The reason I am using autocomplete is that I want searching for categories easier. Same goes for already added bookmarks. Would you like to use an app that won't autocomplete? Nobody will including myself. The reason for opening a webbrowser is that I need to be able to use my bookmarks through this app. I can serve the bookmarks as hyperlinks on which a simple click can do the job of opening the webpage. But browser security does not allow me to open locally stored bookmarks like the one I gave above to be opened this way. When I came to know about this thing I had two choices - switch to a GUI framework or find an acceptable workaround. As my server and client or on the same machine and the security of browser do not apply to my Python installation I chose to send the request of opening the bookmark to server which will be able to open both offline and online bookmarks.
I understand the need for documentation but I think as there is an assumption of server and client on same machine for opening the bookmarks no one will want to use it anyway. Bad jokes aside, I am learning Django, Javscript/jQuery through this project I don't feel comfortable adding another topic to learn side-by-side alongwith my job. My goal is to make an app for personal use. If I add too much things to learn at the same time I will lose the interest that keeps me going. I will consider making one the proper way when I am more comfortable with these things and I have an idea which is reusable.
If there is anything else please let me know. I will try my best to explain.