Hey Guys, I am looking for a way to hide my media files from direct access.
What is the common practice here?
If one would browse to http://www.example.com/static in one of my Django
sites there would be
a list of all the files used therein. Is there a way to hide/prevent this
url from having a dir
;
> root /path/to/your/static/;
> }
>
> More info here: http://wiki.nginx.org/HttpAutoindexModule
>
> On Mon, Feb 6, 2012 at 3:53 PM, Robert Steckroth <
> robertsteckr...@gmail.com> wrote:
>
>> Hey Guys, I am looking for a way to hide my media files f
Hey Gang, I have a Django project built on a Debian server at home using http://djangobb.org";>DjangoBB.
It is working on the Debain OS but I am having huge problems on the Centos
server. This seams to be the farthest I can go with it. -->
#-->python manage.py syncdb
Error: No module named messages
Also can I assume, regarding the above question above, that "messages" is
the last thing Django is processing since it is at the
bottom of the list in installed apps? I.e. If I fix the messages error it
might work?
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
Ya, it is probably a path issue. It is set as this by the way -->
['',
'/usr/lib64/python2.4/site-packages/MySQL_python-1.2.3c1-py2.4-linux-x86_64.egg',
'/usr/lib64/python24.zip', '/usr/lib64/python2.4',
'/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk',
'/usr/lib64/python2.4/lib-d
Hello Gang, I have two other servers on Debian which have the correct site
variables set. E.g. site.name, site.domain.
But on this particulaly crazy Centos setup the site variable is set to the
default (www.example.com).
It shows when I use it in this manner -->
{% load i18n %}
{% trans "Simply fol
Hey Gang, I have created a juju charm to deploy multiple django apps
to ec2. Currently, I
am working on multiple site control and need help with the django_site table.
When am instance is destroyed, the database remains but django is
re-installed. The
problem arises when old database is kept aroun
Can anyone explain this on to me. It seams like an easy fix, but
I can't get my fingers on it. Any help is appreciated.
In template
/home/sites/radio_show/radio/serve/templates/registration/activation_email.txt,
error at line 5
unindent does not match any outer indentation level
1 {% load i
site_domain variables with bash.
Should be admin-less when I am through with it. On-wards with the research.
On Mon, Jun 4, 2012 at 12:21 PM, Robert Steckroth
wrote:
> Hey Gang, I have created a juju charm to deploy multiple django apps
> to ec2. Currently, I
> am working on multiple site co
Hey Gang, is there a way to update the database with a syncdb or
other command after a model has been changed? I added a field
the the model after the syncdb.
--
Bust0ut, Surgemcgee: Systems Engineer ---
PBDefence.com
BudTVNetwork.com
RadioWeedShow.com
"Bringing entertainment to Unix"
--
You r
Well, that would be a lesson for me.
Looks like I will have to incorporate south into my endeavours.
Much thanks to the Django community.
On Thu, Jun 7, 2012 at 8:55 PM, Psamathos wrote:
> South will handle schema migrations for you: http://south.aeracode.org/
>
> This tutorial is a good place
Hey Gang, I need to install the auth system but have Django answer
"no" automatically for the super user creation. This happens when a -->
python manage.py syncdb <- is run for the first time on a project.
Should I alter the manage.py script? If, not, where should I look to
accomplish this?
--
Bu
Perfect, and I appreciate your your time.
On Tue, Jun 12, 2012 at 11:02 PM, Russell Keith-Magee
wrote:
> On Wed, Jun 13, 2012 at 10:00 AM, Robert Steckroth
> wrote:
>> Hey Gang, I need to install the auth system but have Django answer
>> "no" automatically for t
Hey Gang, I am writing a framework to install django projects to the cloud.
Currently I have the user specifying
the site domain and site name in a config file for the django.sites
framework and providing the site_id in settings.py.
Personally, I change the django.sites entries by issuing mysql com
Yes, I have seen some very impressive admin media controls for websites
with larger projects
having wordpress like functionality. However, there are not easy or cheap
to make.
I recommend checking open-souce projects for a good start.
On Tue, Jul 3, 2012 at 1:39 PM, Larry Martell wrote:
> I have
There are jobs available in Minnesota for any interested as well. More info
can be found here -->
http://www.comfychairconsulting.com/
On Tue, Jul 3, 2012 at 11:09 AM, Jon Black wrote:
> And also on http://djangogigs.com/
> --
> Jon Black
> www.jonblack.org
>
>
> On Tue, Jul 3, 2012, at 11:03,
Django is a very open-ended framework. The admin system is built around
developer/user customization.
On Tue, Jul 3, 2012 at 1:51 PM, Larry Martell wrote:
> On Tue, Jul 3, 2012 at 11:49 AM, Robert Steckroth
> wrote:
> > Yes, I have seen some very impressive admin media controls
Well, I guess the user will have to specify the domain and name in the
config file.
I was hoping the information could be provided in the settings file. Only
other way is the
admin system which isn't necessary for an otherwise completely automated
process.
On Tue, Jul 3, 2012 at 1:33 PM, R
Hello gang, I would like to have some of my django views send the
response to a different ports.
Is it possible to specify which port to use in the views?
--
Bust0ut, Surgemcgee: Systems Engineer ---
surgemcgee.com
BudTVNetwork.com
RadioWeedShow.com
"Bringing entertainment to Unix"
--
You receiv
Well, I guess I will have to have apache proxy the outgoing request then.
On Fri, Aug 31, 2012 at 7:49 PM, Robert Steckroth
wrote:
> Hello gang, I would like to have some of my django views send the
> response to a different ports.
> Is it possible to specify which port to use in
the same database. From the development server you can
> run each project in different ports, from apache/wsgi you can create a
> different virtualhost from each port.
>
> Regards
>
> On Fri, Aug 31, 2012 at 8:49 PM, Robert Steckroth
> wrote:
>> Hello gang, I would l
Hello gang, I have created a dynamic template loading system utilizing
ajax inside the template.
The templates and data are retrieved and displayed as expected. The
problem is that the contact form
is provided by one view and processed by another. This, of course
raises a CSRF token error in the po
this with a caching or session variable.
It was a pain in the rear, but the result is very professional. I am
just gonna ignore it for now until it goes public.
On Sun, Sep 2, 2012 at 1:16 AM, Melvyn Sopacua wrote:
> On 2-9-2012 0:52, Robert Steckroth wrote:
>
>> The
>> problem i
ient side)
> get the form to display, you can insert the appropriate hidden element.
>
> Bill
>
> On Sun, Sep 2, 2012 at 5:06 PM, Robert Steckroth
> wrote:
>> No actually the the template that renders the form is separate from
>> the template that submits it.
>
Hello Gang, I have the function below which returns this error ->
"FieldError at /by_date/
Join on field 'first_day_start_time' not permitted. Did you misspell
'month' for the lookup type?"
The function will work in other objects (even with model
relationships), but not when the __month filter is
Hello Gang, while creating a simple loop to copy a directory
structure, I encountered a strange error
with os.path.join. In the loop below, only the first iteration of the
loop will join the new_dir with no_base.
After hours of research, I still cannot pin this one down. I have it
working at the bo
Hey Gang, I have got my project up on Bitbucket -->
https://bitbucket.org/surgemcgee/django_template3d
It is a fun Django Project with some nice features. It is simple to
get up in going and provides
some abstract Django/HTML concepts.
--
Bust0ut, Surgemcgee: Systems Engineer ---
surgemcgee.com
B
Hey Gang, is there a standard documentation page for new/existing
Django projects?
I was going to use https://read-the-docs.readthedocs.org/en but it
will not let me create an account (500 whale). It seems to be common
in the projects
I've used. Any suggestions?
--
Bust0ut, Surgemcgee: Systems
Hey Gang, I have to Command class below which utilizes args from the
command line.
I would like to have sub-arguments to some of these,
e.g. python manage.py template3d -c --file some_template.html another.html
This would execute the [-c] parameter and also pass those html names
to a [--file] opti
Ohh, hey, thanks. It was working this morning and performed flawlessly.
I could not be more happy with the operational tools and overall design.
On Sun, Oct 14, 2012 at 7:19 PM, Russell Keith-Magee
wrote:
> On Sun, Oct 14, 2012 at 11:54 AM, Robert Steckroth
> wrote:
>> Hey Gang
And it turned out nice too! :)
http://django-template3d.readthedocs.org/en/latest/index.html#
On Sun, Oct 14, 2012 at 9:26 PM, Robert Steckroth
wrote:
> Ohh, hey, thanks. It was working this morning and performed flawlessly.
> I could not be more happy with the operational tools and o
Hey there gang. If any of you are in need of employment, there
is some quality job positions available with good pay for any decent
Django programmers. The consulting firm is based out of St. Paul
Minnesota and can allow you to work from home. The web site is
http://www.comfychairconsulting.com/
On
Well, I am willing to go to the Big Nerd Ranch or other hard core fast pace
Django
learning course. I have a excellent understanding of programming and will
excel very
quickly. I am willing to invest in your future if you are willing to invest
in mine.
I would love to talk about my background and g
Hey Gang, I have created a simple user profile area with an Avatar
image upload system. It works great on my localhost but gives a
permission error on the server. Has anyone ran into this and found a quick
answer?
The upload media url is a wsgi process and is not used in the file.open()
command.
T
Allright, I fixed it.
This did the trick -->
destination = open(settings.MEDIA_ROOT+'userAvatarDir/'+fName, 'wb+')
On Thu, Sep 22, 2011 at 9:55 PM, Robert Steckroth wrote:
> Hey Gang, I have created a simple user profile area with an Avatar
> image upload
Is this a paying project? I have a wide range of skills including Django.
On Tue, Dec 20, 2011 at 3:17 PM, JohnyB wrote:
> Hello guys,
> I am in the process of creating an informational website combined with
> a desktop application, and mobile version all connected, but I am
> overwhelmed by it,
Hey Gang, is it possible to include a csrf token with a xml post?
It looks like there are options in the view to control this but
getting into the header would be nice.
This isn't working along with many other tries. Anyone know what the
header should look like this offhand?
xmlhttp.open(
ocument.getElementById("vote");
element.person.value = person;
element.submit();
}
On Tue, Jan 24, 2012 at 11:39 AM, Reinout van Rees wrote:
> On 24-01-12 16:47, Robert Steckroth wrote:
>>
>> Hey Gang, is it possible to include a csrf token with a xml post?
>> It l
Hello, I am actively seeking a opportunity to develop Django applications.
If there are any professionals
seeking to grow in this area, feel free to respond via this address. Also,
I have other soundly developed skills
in the Systems/Software/Web field. Thanks, Robert Steckroth
--
Bust0ut
The application being created requires client to have an admin interface
specific to external
application/use. In other words, I would like to provide unique Admin model
control for a tentative user base. Any thoughts on how one might go about
this? Thanks
--
Systems/Software Engineer
--
You r
Ok, never mind. I copied the entire admin dir to the app directory and it
is working fairly well here. So naa..
On Thu, Sep 5, 2013 at 11:15 PM, Robert Steckroth wrote:
> The application being created requires client to have an admin interface
> specific to external
> application/use.
Why is the user permissions widget not re-sizing? I can hear it now...
http://postimg.org/image/mcfbfhs83/
--
Systems/Software Engineer
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emai
Also, the manytomany field selector highlight is waaay to light.
On Fri, Sep 6, 2013 at 11:22 AM, Robert Steckroth wrote:
> Why is the user permissions widget not re-sizing? I can hear it now...
>
> http://postimg.org/image/mcfbfhs83/
>
>
>
>
> --
>
jangoproject.com/en/1.5/ref/contrib/admin/#django.contrib.admin.AdminSite
>
> On Thursday, September 5, 2013 10:28:38 PM UTC-5, Surgemcgee wrote:
>
>> Ok, never mind. I copied the entire admin dir to the app directory and it
>> is working fairly well here. So naa..
>>
&
Man, it is becoming less a reality to get this working. Has anyone found a
solution to this? The whole thing is working just fine except for the
tiny_mce_popup.js file.
--
Systems/Software Engineer
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
Ohh nice, thank you, I found just what I was looking for there.
On Sun, Oct 6, 2013 at 10:52 AM, Gabriel - Iulian Dumbrava <
gabriel.dumbr...@gmail.com> wrote:
> Hi,
>
> There are a few forks of django-filebrowser-no-grappelli that have solved
> this issue.
>
> Probably someone has solved it in
Hey Gang, I am hoping that a few here can point me in the right direction.
I have a online game that posts data to a server. The server
broadcasts the information
back to all of the clients via another post to the clients IP addresses.
Now, while processing the POST data is not a problem, how, or
Heck Ya, thanks for the reply. I am already pouring over the examples. It is
almost as it was made just for me, aww :)
--
Bringing game to younix
Bust0ut Entertainment ---
PureBreedDefense.com --> TheLinuxGame.com --> PBDefence.com
"Finding the exit without looking"
--
You received this messa
Hey coders, Where would stuff like .js src files go in a Django powered
Website?
ERROR --> 09:20:08.016: Network: GET
http://localhost:8000/users/PBUi/mouse.js [HTTP/1.0 404 NOT FOUND 30ms]
ERROR --> 09:20:07.823: Network: GET
http://localhost:8000/users/sylvester.js [HTTP/1.0 404 NOT FOUND 11ms]
Hey gang, anyone care to share the best way to incorporate this image
loading function into
my Website.
*Here is the JS premise I want to achieve --> textureFile[t].image.src =
{{ MEDIA_URL }} + tempName + tExt;
This JS is successfully loaded by index.html via this -->
*Needs a working
Hello community, I wanted to show interest in collaborating on an
opensource Django application called Gazelle (a fork of Mezzanine).
I built a SearchQuerySet with a drop in replacement to the filter() command
which does not hit the database.
So, far the results are promising and I am opening the p
class RssFeedPageForm(forms.ModelForm):
class Meta:
model = RssFeedPage
def clean_link(self):
self.instance.save()
page_model_instance=self.instance, rss_item=RssFeedItem,
feed_url=self.data['link'])
UpdateFeeds().parse_feed(page_model_instance=self.instance,
rss
imes.com/services/xml/rss/nyt/HomePage.xml";)
..because I pass in a usable model to ->
parse_feed(page_model_instance=model)
Note: this script will be open-sourced shortly. I will post the repo when
it is ready :)
On Sat, Jan 25, 2014 at 2:29 PM, Robert Steckroth wrote:
>
>
&
eds().parse_feed will raise VailidationError
UpdateFeeds().parse_feed(update_feed_data=True,
update_item_data=True, page_model_instance=obj, rss_item=RssFeedItem,
feed_url=form.data['link'])
On Sat, Jan 25, 2014 at 2:37 PM, Robert Steckroth wrote:
> Opps, sorry. I was actual
54 matches
Mail list logo